diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-05-11 23:01:29 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-05-12 21:01:18 +0200 |
commit | a8f7dee1dffbf8c18acbcc7b1f6d659bf808798e (patch) | |
tree | 8b6ea115eebad97d46d78faf145002e2553398cf /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 99d63ccff04b672694f8a2b3eed024b873dc163d (diff) | |
download | llvm-a8f7dee1dffbf8c18acbcc7b1f6d659bf808798e.zip llvm-a8f7dee1dffbf8c18acbcc7b1f6d659bf808798e.tar.gz llvm-a8f7dee1dffbf8c18acbcc7b1f6d659bf808798e.tar.bz2 |
[InstCombine] Support one-hot merge for logical and/or
If a logical and/or is used, we need to be careful not to propagate
a potential poison value from the RHS by inserting a freeze
instruction. Otherwise it works the same way as bitwise and/or.
This is intended to address the regression reported at
https://reviews.llvm.org/D101191#2751002.
Differential Revision: https://reviews.llvm.org/D102279
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions