Torok Edwin be6a9a151a Fix PR4254.
The DAGCombiner created a negative shiftamount, stored in an
unsigned variable. Later the optimizer eliminated the shift entirely as being
undefined.
Example: (srl (shl X, 56) 48). ShiftAmt is 4294967288.
Fix it by checking that the shiftamount is positive, and storing in a signed
variable.

llvm-svn: 72331
2009-05-23 17:29:48 +00:00
..
2009-01-15 20:18:42 +00:00
2009-01-15 20:18:42 +00:00
2009-01-15 20:18:42 +00:00
2009-05-23 17:29:48 +00:00