aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-05-06 15:07:01 +0200
committerNikita Popov <npopov@redhat.com>2022-05-06 16:04:39 +0200
commit0863abe3ac47c281fdd35dc87d83c495cf741da0 (patch)
treedf36d8896b5e965f4b76201be9b80111cd2f81a2 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parentd7b6fd47b223c3b5243973188a8598b1eecb1046 (diff)
downloadllvm-0863abe3ac47c281fdd35dc87d83c495cf741da0.zip
llvm-0863abe3ac47c281fdd35dc87d83c495cf741da0.tar.gz
llvm-0863abe3ac47c281fdd35dc87d83c495cf741da0.tar.bz2
[InstCombine] Fold icmp of select with non-constant operand
Try to push an icmp into a select even if the icmp operand isn't constant - perform a generic SimplifyICmpInst instead. This doesn't appear to impact compile-time much, and forming logical and/or is generally profitable, as we have very good support for them.
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions