[llvm] [InstCombine] Fold icmp eq (and X, 1), 0 --> xor (trunc X to i1) (PR #219320)

Rohan Jha via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 30 15:35:32 PDT 2026


rohan11235813 wrote:

split `ValueTracking` changes in separate PR(https://github.com/llvm/llvm-project/pull/219854). ephemeral issue: it only triggers when the condition has a non-ephemeral use, so #219854 restricts it to single use condition.

https://github.com/llvm/llvm-project/pull/219320


More information about the llvm-commits mailing list