1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
llvm-mirror/test/Analysis
Nick Lewycky 0b6cdd1eff 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().

llvm-svn: 47360
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