aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorchenglin.bi <chenglin.bi@linaro.org>2022-12-03 07:54:49 +0800
committerchenglin.bi <chenglin.bi@linaro.org>2022-12-03 07:56:19 +0800
commite719550e6f0161da597c9c0a0ceb60b3670ce2c2 (patch)
treeafa89e65b739cbc586317bfc1b02a32af2446a81 /clang/lib/Frontend/CompilerInvocation.cpp
parent7cf5581712b24d4aea5dffa2e23f0ed42af1954d (diff)
downloadllvm-e719550e6f0161da597c9c0a0ceb60b3670ce2c2.zip
llvm-e719550e6f0161da597c9c0a0ceb60b3670ce2c2.tar.gz
llvm-e719550e6f0161da597c9c0a0ceb60b3670ce2c2.tar.bz2
[InstCombine] fold icmp + select pattern by distributive laws
`C ? (Y != X) : (Z != X) --> (C ? Y : Z) != X` `C ? (Y == X) : (Z == X) --> (C ? Y : Z) == X` https://alive2.llvm.org/ce/z/-frXfs Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D139076
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions