aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorJuneyoung Lee <aqjune@gmail.com>2020-12-28 03:46:28 +0900
committerJuneyoung Lee <aqjune@gmail.com>2020-12-28 05:28:38 +0900
commitf1d648b973d32ab0e70ef20efb0f146240e50f58 (patch)
tree2dbfb9767f12a0e3463d6246b5309b42c937b8fe /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent0060f1013453d4ecaac8b62fb54044285a16a379 (diff)
downloadllvm-f1d648b973d32ab0e70ef20efb0f146240e50f58.zip
llvm-f1d648b973d32ab0e70ef20efb0f146240e50f58.tar.gz
llvm-f1d648b973d32ab0e70ef20efb0f146240e50f58.tar.bz2
[GVN] Use m_LogicalAnd/Or to propagate equality from branch conditions
This patch makes GVN recognize `select c1, c2, false` as well as `select c1, true, c2` branch condition and propagate equality from these. See llvm.org/pr48353, D93065 Differential Revision: https://reviews.llvm.org/D93841
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions