diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2024-07-15 07:03:22 -0700 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2024-07-15 07:27:54 -0700 |
commit | beccecaacde405a3b50891c67594eccbcd1c8b08 (patch) | |
tree | 986cc7c5fcea71a4c52fc20a0992fd8247ca1814 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 9ba9e480fa4ef1f37a2b6b51603ac8e446cca5ff (diff) | |
download | llvm-beccecaacde405a3b50891c67594eccbcd1c8b08.zip llvm-beccecaacde405a3b50891c67594eccbcd1c8b08.tar.gz llvm-beccecaacde405a3b50891c67594eccbcd1c8b08.tar.bz2 |
[SLP]Fix PR98838: do no replace condition of select-based logical op by poison.
If the reduction operation is a select-based logical op, the condition
should be replaced by the poison, better to replace by the non-poisoning
constant to prevent poison propagation in the vector code.
Fixes https://github.com/llvm/llvm-project/issues/98838
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions