diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2025-01-07 00:03:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-07 00:03:13 +0800 |
commit | 4ebfd43cf008b941d88a61a2c549e9a5291ee017 (patch) | |
tree | 0c875943c38da39561de5394668625f82df058a0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 27751c39d41dc937f6b8a127ca562edbba161584 (diff) | |
download | llvm-4ebfd43cf008b941d88a61a2c549e9a5291ee017.zip llvm-4ebfd43cf008b941d88a61a2c549e9a5291ee017.tar.gz llvm-4ebfd43cf008b941d88a61a2c549e9a5291ee017.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions