llvm-project
4ebfd43c - [InstCombine] Always treat inner and/or as bitwise (#121766)

Commit
1 year ago
[InstCombine] Always treat inner and/or as bitwise (#121766) In https://github.com/llvm/llvm-project/pull/116065, we pass `IsLogical` into `foldBooleanAndOr` when folding inner and/or ops. But it is always safe to treat them as bitwise if the outer ops are bitwise. Alive2: https://alive2.llvm.org/ce/z/hULrgH Closes https://github.com/llvm/llvm-project/issues/121701.
Author
Parents
Loading