Skip to content

Regression in InstCombine Pass: Missing Simplification of icmp with Bitwise AND and llvm.assume Condition #104772

@RonDahan101

Description

@RonDahan101

In LLVM 18.1.0, instCombine considered the llvm.assume condition and managed to prove that the branch is always false.

https://godbolt.org/z/181GG7vvE

Now, instCombine fails to simplify the branch's condition.

https://godbolt.org/z/z4xMT533G

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions