Skip to content

Refactor Next ir_matcher to match decoupled Next nodes. - #4814

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_967546717
Aug 20, 2026
Merged

Refactor Next ir_matcher to match decoupled Next nodes. #4814
copybara-service[bot] merged 1 commit into
mainfrom
test_967546717

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Aug 20, 2026

Copy link
Copy Markdown

Refactor Next ir_matcher to match decoupled Next nodes.

Next nodes are no longer constructed with state reads. This refactors m::Next and m::NextWithLabel to match against StateElement* or state element name, value, optional predicate, and optional label.

Replaces all usages of m::NextWithStateElement and m::NextWithStateElementWithLabel with m::Next and m::NextWithLabel.

Next nodes are no longer constructed with state reads. This refactors `m::Next` and `m::NextWithLabel` to match against `StateElement*` or state element name, value, optional predicate, and optional label.

Replaces all usages of `m::NextWithStateElement` and `m::NextWithStateElementWithLabel` with `m::Next` and `m::NextWithLabel`.

PiperOrigin-RevId: 967892986
@copybara-service
copybara-service Bot merged commit 5e835ef into main Aug 20, 2026
7 checks passed
@copybara-service
copybara-service Bot deleted the test_967546717 branch August 20, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant