aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-09-22 16:35:07 +0200
committerNikita Popov <npopov@redhat.com>2022-09-22 16:37:10 +0200
commit8df376db7282b955e7990cb8887ee9dcd3565040 (patch)
tree557f740e20e97e32a9e74714d620ce77c299c8c8 /clang/lib/Lex/ModuleMap.cpp
parent76fd4bf675b5ceeeca0e4e15cf15d89c7acf4947 (diff)
downloadllvm-8df376db7282b955e7990cb8887ee9dcd3565040.zip
llvm-8df376db7282b955e7990cb8887ee9dcd3565040.tar.gz
llvm-8df376db7282b955e7990cb8887ee9dcd3565040.tar.bz2
[InstCombine] Remove buggy zext of icmp eq with pow2 fold (PR57899)
For the case where the constant is a power of two rather than zero, the fold is incorrect, because it fails to check that the bit set in the LHS matches the bit in the RHS. Rather than fixing this, remove the power of two handling entirely, as a different fold will already canonicalize such comparisons to use a zero constant. Fixes https://github.com/llvm/llvm-project/issues/57899.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions