1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/lib/Transforms
Craig Topper 19878d5310 [InstCombine] Teach foldSelectICmpAnd to recognize a (icmp slt X, 0) and (icmp sgt X, -1) as equivalent to an and with the sign bit of the truncated type
This is similar to what was already done in foldSelectICmpAndOr. Ultimately I'd like to see if we can call foldSelectICmpAnd from foldSelectIntoOp if we detect a power of 2 constant. This would allow us to remove foldSelectICmpAndOr entirely.

Differential Revision: https://reviews.llvm.org/D36498

llvm-svn: 311362
2017-08-21 19:02:06 +00:00
..
Coroutines Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
Hello
InstCombine [InstCombine] Teach foldSelectICmpAnd to recognize a (icmp slt X, 0) and (icmp sgt X, -1) as equivalent to an and with the sign bit of the truncated type 2017-08-21 19:02:06 +00:00
Instrumentation [PGO] Fixed assertion due to mismatched memcpy size type. 2017-08-18 19:17:08 +00:00
IPO Migrate WholeProgramDevirt to new Optimization Remark API 2017-08-21 16:57:21 +00:00
ObjCARC Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Scalar Revert 311208, 311209 2017-08-21 16:00:38 +00:00
Utils revert r311333: [LibCallSimplifier] try harder to fold memcmp with constant arguments 2017-08-21 15:16:25 +00:00
Vectorize Revert r311077: [LV] Using VPlan ... 2017-08-20 23:17:11 +00:00
CMakeLists.txt
LLVMBuild.txt