[X86] Fast-ISel was incorrectly always killing the source of a truncate.
[oota-llvm.git] / test / CodeGen / X86 / 2007-02-16-BranchFold.ll
index 596021ad36b1448454e69b8e606fe401f9aa0833..22e0a4e806f98dfb959952786cbd1b408f72ac32 100644 (file)
@@ -60,7 +60,7 @@ bb.i9.i.i932.ce:              ; preds = %newFuncRoot
        %tmp1.i6.i = getelementptr %struct.operator, %struct.operator* %tmp66.i62.i, i32 0, i32 2               ; <i32*> [#uses=1]
        %tmp2.i7.i = load i32, i32* %tmp1.i6.i          ; <i32> [#uses=1]
        %tmp3.i8.i = load %struct.FILE*, %struct.FILE** @outfile                ; <%struct.FILE*> [#uses=1]
-       %tmp5.i9.i = call i32 (%struct.FILE*, i8*, ...)* @fprintf( %struct.FILE* %tmp3.i8.i, i8* getelementptr ([11 x i8], [11 x i8]* @str1, i32 0, i32 0), i32 %tmp2.i7.i )            ; <i32> [#uses=0]
+       %tmp5.i9.i = call i32 (%struct.FILE*, i8*, ...) @fprintf( %struct.FILE* %tmp3.i8.i, i8* getelementptr ([11 x i8], [11 x i8]* @str1, i32 0, i32 0), i32 %tmp2.i7.i )             ; <i32> [#uses=0]
        %tmp7.i10.i = getelementptr %struct.operator, %struct.operator* %tmp66.i62.i, i32 0, i32 5              ; <i32*> [#uses=1]
        %tmp8.i11.i = load i32, i32* %tmp7.i10.i                ; <i32> [#uses=7]
        br label %NodeBlock5