diff options
author | Nikita Popov <npopov@redhat.com> | 2022-05-06 15:07:01 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-05-06 16:04:39 +0200 |
commit | 0863abe3ac47c281fdd35dc87d83c495cf741da0 (patch) | |
tree | df36d8896b5e965f4b76201be9b80111cd2f81a2 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | d7b6fd47b223c3b5243973188a8598b1eecb1046 (diff) | |
download | llvm-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