llvm/lib
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
..
Analysis Fix a thinko in the code that adapted SCEVMulExpr operands for 2009-05-22 07:14:20 +00:00
Archive Add the private linkage. 2009-01-15 20:18:42 +00:00
AsmParser Use v.data() instead of &v[0] when SmallVector v might be empty. 2009-05-21 09:52:38 +00:00
Bitcode Make MDNode use CallbackVH. Also change MDNode to store Value* instead of 2009-05-10 20:57:05 +00:00
CodeGen Fix PR4254. 2009-05-23 17:29:48 +00:00
CompilerDriver -write-graph now can be used with -o. 2009-03-27 12:57:14 +00:00
Debugger Oops...I committed too much. 2009-03-13 04:39:26 +00:00
ExecutionEngine stat64/open64/lseek64 for the interpreter 2009-05-23 16:23:59 +00:00
Linker Add a new "available_externally" linkage type. This is intended 2009-04-13 05:44:34 +00:00
Support Add llvm::triple constructor from arch, vendor, os strings, and recognize 2009-05-22 02:24:11 +00:00
System Add Atomic.cpp to the CMake build system. 2009-05-21 00:48:56 +00:00
Target Make the x86 backend custom-lower UINT_TO_FP and FP_TO_UINT on 32-bit 2009-05-23 09:59:16 +00:00
Transforms available_externall linkage is not local, this was confusing the codegenerator, 2009-05-23 14:06:57 +00:00
VMCore Always verify dominfo if expensive checking is enabled. 2009-05-22 08:52:53 +00:00
Makefile Reorganize llvmc code. 2009-03-02 09:01:14 +00:00