aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2022-04-11 15:44:57 -0400
committerSanjay Patel <spatel@rotateright.com>2022-04-11 15:50:13 -0400
commit1206a18d417aa6d9d3d6f9e25cbf0b07ed1409a4 (patch)
tree5d16d9024708b7b76b3f04d07ed9b783d8b77156 /clang/lib/Basic/FileManager.cpp
parentaafb428237b4ee41f7cb1de0211a0fbdb74e1f1c (diff)
downloadllvm-1206a18d417aa6d9d3d6f9e25cbf0b07ed1409a4.zip
llvm-1206a18d417aa6d9d3d6f9e25cbf0b07ed1409a4.tar.gz
llvm-1206a18d417aa6d9d3d6f9e25cbf0b07ed1409a4.tar.bz2
[InstCombine] guard against splat-mul corner case
The test is already simplified, and I'm not sure how to write a test to exercise the new clause. But it protects the 2-bit pattern from miscompiling as noted in D123453. https://alive2.llvm.org/ce/z/QPyVfv (If we managed to fall into the mul transform, it would wrongly create a zero on this pattern.)
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions