llvm/lib
Chris Lattner 66bc325bff fix a miscompilation of:
define i32 @test(i32 %X) {
entry:
        %Y = and i32 %X, 4              ; <i32> [#uses=1]
        icmp eq i32 %Y, 0               ; <i1>:0 [#uses=1]
        sext i1 %0 to i32               ; <i32>:1 [#uses=1]
        ret i32 %1
}

by moving code out of commonIntCastTransforms into visitZExt.  Simplify the
APInt gymnastics in it etc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35885 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 05:45:39 +00:00
..
Analysis Eliminate unnecessary APInt construction. 2007-04-07 17:48:27 +00:00
Archive Avoid a useless temporary constrution. 2007-04-07 19:51:45 +00:00
AsmParser For PR1146: 2007-04-11 02:44:20 +00:00
Bytecode Fix a bug where calling materializeModule could corrupt the module, reading 2007-04-09 20:28:40 +00:00
CodeGen Teach the codegen to turn [aez]ext (setcc) -> selectcc of 1/0, which often 2007-04-11 05:32:27 +00:00
Debugger Make sure temporary data is not used past its life span. 2007-04-08 20:10:14 +00:00
ExecutionEngine For PR1293: 2007-03-30 16:41:50 +00:00
Linker For PR1146: 2007-04-11 02:44:20 +00:00
Support For PR1291: 2007-04-07 18:53:16 +00:00
System Hack to get sys::Path to recognize macho dylibs. 2007-04-11 03:15:35 +00:00
Target done 2007-04-11 05:34:00 +00:00
Transforms fix a miscompilation of: 2007-04-11 05:45:39 +00:00
VMCore For PR1146: 2007-04-11 02:44:20 +00:00
Makefile Changes to support making the shift instructions be true BinaryOperators. 2007-02-02 02:16:23 +00:00