Torok Edwin 6bb4958543 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.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72331 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-23 17:29:48 +00:00
..
2009-04-29 00:15:41 +00:00
2009-04-29 00:15:41 +00:00
2009-05-07 01:41:42 +00:00
2009-04-29 00:15:41 +00:00
2009-03-26 23:03:32 +00:00
2009-04-29 00:15:41 +00:00
2009-05-23 17:29:48 +00:00
2009-04-29 00:15:41 +00:00
2009-05-20 05:45:36 +00:00
2009-04-04 10:24:24 +00:00
2009-04-29 00:15:41 +00:00
2009-04-29 00:15:41 +00:00
2009-04-29 00:15:41 +00:00
2009-05-13 22:29:12 +00:00
2009-03-12 17:07:39 +00:00
2009-03-23 18:27:36 +00:00
2009-05-18 15:16:49 +00:00
2009-04-29 00:15:41 +00:00
2009-04-29 00:15:41 +00:00