diff options
author | Nikita Popov <npopov@redhat.com> | 2024-04-24 10:57:17 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-24 10:57:17 +0900 |
commit | 7339f7ba3053db7595ece1ca5f49bd2e4c3c8305 (patch) | |
tree | 8f186c7ba336a620619ee609ea33af7fc599080a /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | a1b1c4a6d1d52916c5d885170a5f54632d579cdc (diff) | |
download | llvm-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