[all-commits] [llvm/llvm-project] d7b6fd: [InstCombine] Add additional icmp of select tests ...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri May 6 07:04:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d7b6fd47b223c3b5243973188a8598b1eecb1046
https://github.com/llvm/llvm-project/commit/d7b6fd47b223c3b5243973188a8598b1eecb1046
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-05-06 (Fri, 06 May 2022)
Changed paths:
A llvm/test/Transforms/InstCombine/icmp-select.ll
Log Message:
-----------
[InstCombine] Add additional icmp of select tests (NFC)
Commit: 0863abe3ac47c281fdd35dc87d83c495cf741da0
https://github.com/llvm/llvm-project/commit/0863abe3ac47c281fdd35dc87d83c495cf741da0
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-05-06 (Fri, 06 May 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-select.ll
M llvm/test/Transforms/InstCombine/shift.ll
Log Message:
-----------
[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.
Compare: https://github.com/llvm/llvm-project/compare/1df36d561637...0863abe3ac47
More information about the All-commits
mailing list