aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-05-04 19:11:37 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-05-04 19:51:30 +0200
commite20897726f080d6378668f8b4b656bbb34313578 (patch)
tree32d103047b5dba032ab000c0a5b3aa973d1cf18a /clang/lib/Frontend/CompilerInvocation.cpp
parent54db12ff5a5ed33662c75bc465c5a44ac234c6f2 (diff)
downloadllvm-e20897726f080d6378668f8b4b656bbb34313578.zip
llvm-e20897726f080d6378668f8b4b656bbb34313578.tar.gz
llvm-e20897726f080d6378668f8b4b656bbb34313578.tar.bz2
[SimplifyCFG] Create logical or in SimplifyCondBranchToCondBranch()
We need to use a logical or instead of a bitwise or to preserve poison behavior. Poison from the second condition should not propagate if the first condition is true. We were already handling this correctly in FoldBranchToCommonDest(), but not in this fold. (There are still other folds with this issue.)
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions