[llvm] [InstCombine] Canonicalize `switch(X^C)` expressions to `switch(X)` (PR #143677)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 30 01:09:17 PDT 2025


antoniofrighetto wrote:

@nikic Think we should proceed with this canonicalization? If so, should try `xor X, INT_MIN -> sub X, INT_MIN` first?

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


More information about the llvm-commits mailing list