Parse reversed smax and umax as smin and umin and express them with negative or binary-not SCEVs (which are really just subtract under the hood). Parse 'xor %x, -1' as (-1 - %x). Remove dead code (ConstantInt::get always returns a ConstantInt). Don't use getIntegerSCEV(-1, Ty). The first value is an int, then it gets passed into a uint64_t. Instead, create the -1 directly from ConstantInt::getAllOnesValue(). llvm-svn: 47360 |
||
|---|---|---|
| .. | ||
| 2007-07-15-NegativeStride.ll | ||
| 2007-08-06-MisinterpretBranch.ll | ||
| 2007-08-06-Unsigned.ll | ||
| 2007-09-27-LargeStepping.ll | ||
| 2007-11-14-SignedAddRec.ll | ||
| 2007-11-18-OrInstruction.ll | ||
| 2008-02-11-ReversedCondition.ll | ||
| 2008-02-12-SMAXTripCount.ll | ||
| 2008-02-15-UMax.ll | ||
| SolveQuadraticEquation.ll | ||
| dg.exp | ||
| do-loop.ll | ||
| smax.ll | ||
| trip-count.ll | ||
| trip-count2.ll | ||