Skip to content

[Comb][AssumeTwoValued] Set twoState=true on all Comb ops#10395

Merged
jmolloy merged 2 commits intollvm:mainfrom
jmolloy:twostate
May 7, 2026
Merged

[Comb][AssumeTwoValued] Set twoState=true on all Comb ops#10395
jmolloy merged 2 commits intollvm:mainfrom
jmolloy:twostate

Conversation

@jmolloy
Copy link
Copy Markdown
Contributor

@jmolloy jmolloy commented May 6, 2026

This enables a bunch of Comb canonicalizations; see #10393.

This enables a bunch of Comb canonicalizations; see llvm#10393.
@jmolloy
Copy link
Copy Markdown
Contributor Author

jmolloy commented May 6, 2026

(we should consider adding AssumeTwoValued in the Arcilator pipelines...)

@jmolloy jmolloy marked this pull request as ready for review May 6, 2026 15:59
@jmolloy jmolloy requested a review from darthscsi as a code owner May 6, 2026 15:59
@jmolloy jmolloy requested review from fabianschuiki May 6, 2026 15:59
Copy link
Copy Markdown
Contributor

@fabianschuiki fabianschuiki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Good idea to enable this in the Arcilator pipelines. We'll eventually want actual support for X and Z, but how exactly that should look like isn't really clear. Might as well double-down on the two-valuedness until we figure that out 😁

Comment thread lib/Dialect/Comb/Transforms/AssumeTwoValued.cpp Outdated
@jmolloy jmolloy merged commit 35d5da4 into llvm:main May 7, 2026
5 checks passed
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.

2 participants