llvm-6502/test/Analysis
Nick Lewycky 3e63076980 Add 'umax' similar to 'smax' SCEV. Closes PR2003.
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().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47360 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-20 06:48:22 +00:00
..
Andersens Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
BasicAA Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
Dominators Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
GlobalsModRef Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
LoadVN Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
LoopInfo Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
ScalarEvolution Add 'umax' similar to 'smax' SCEV. Closes PR2003. 2008-02-20 06:48:22 +00:00