llvm-6502/test/CodeGen
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
..
Alpha
ARM Fix pr4058 and pr4059. Do not split i64 or double arguments between r3 and 2009-05-19 10:02:36 +00:00
CBackend
CellSPU
CPP Fix code emission for conditional branches. 2009-05-04 19:10:38 +00:00
Generic Add a new codegen pass that normalizes dwarf exception handling 2009-05-22 20:36:31 +00:00
IA64
Mips
MSP430 Fix for PR4235: to build a floating-point value from integer parts, 2009-05-20 06:02:09 +00:00
PowerPC Help DejaGnu avoid pipe-jam by producing less output from certain test cases. 2009-05-16 00:34:42 +00:00
SPARC
X86 Fix PR4254. 2009-05-23 17:29:48 +00:00
XCore Fix for PR4235: to build a floating-point value from integer parts, 2009-05-20 06:02:09 +00:00