aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-04-24 10:57:17 +0900
committerGitHub <noreply@github.com>2024-04-24 10:57:17 +0900
commit7339f7ba3053db7595ece1ca5f49bd2e4c3c8305 (patch)
tree8f186c7ba336a620619ee609ea33af7fc599080a /llvm/lib/CodeGen/MachineInstr.cpp
parenta1b1c4a6d1d52916c5d885170a5f54632d579cdc (diff)
downloadllvm-7339f7ba3053db7595ece1ca5f49bd2e4c3c8305.zip
llvm-7339f7ba3053db7595ece1ca5f49bd2e4c3c8305.tar.gz
llvm-7339f7ba3053db7595ece1ca5f49bd2e4c3c8305.tar.bz2
[InstCombine] Fix poison propagation in select of bitwise fold (#89701)
We're replacing the select with the false value here, but it may be more poisonous if m_Not contains poison elements. Fix this by introducing a m_NotForbidPoison matcher and using it here. Fixes https://github.com/llvm/llvm-project/issues/89500.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions