[ARM] When a bitcast is about to be turned into a VMOVDRR, try to combine it
[oota-llvm.git] / test / CodeGen / ARM / 2007-08-15-ReuseBug.ll
index fd136761ebefda56943b7ab6bdc03598ce28ead2..76b6221d022290d2786d68a5d145bd17dd3fe448 100644 (file)
@@ -45,8 +45,8 @@ bb102.i:              ; preds = %cond_next212.i
 
 cond_true110.i:                ; preds = %bb102.i
        %tmp116.i = getelementptr i8*, i8** %argv_addr.2321.0.i, i32 2          ; <i8**> [#uses=1]
-       %tmp117.i = load i8** %tmp116.i         ; <i8*> [#uses=1]
-       %tmp126425.i = call %struct.FILE* @fopen( i8* %tmp117.i, i8* getelementptr ([2 x i8]* @.str44, i32 0, i32 0) )          ; <%struct.FILE*> [#uses=0]
+       %tmp117.i = load i8*, i8** %tmp116.i            ; <i8*> [#uses=1]
+       %tmp126425.i = call %struct.FILE* @fopen( i8* %tmp117.i, i8* getelementptr ([2 x i8], [2 x i8]* @.str44, i32 0, i32 0) )                ; <%struct.FILE*> [#uses=0]
        ret i32 0
 
 cond_next123.i:                ; preds = %bb102.i
@@ -60,7 +60,7 @@ C_addcmd.exit120.i:           ; preds = %cond_next212.i
        %tmp3.i.i.i.i105.i = call i8* @calloc( i32 15, i32 1 )          ; <i8*> [#uses=1]
        %tmp1.i108.i = getelementptr [100 x i8*], [100 x i8*]* @_C_cmds, i32 0, i32 0           ; <i8**> [#uses=1]
        store i8* %tmp3.i.i.i.i105.i, i8** %tmp1.i108.i, align 4
-       %tmp.i91.i = load i32* @_C_nextcmd, align 4             ; <i32> [#uses=1]
+       %tmp.i91.i = load i32, i32* @_C_nextcmd, align 4                ; <i32> [#uses=1]
        store i32 0, i32* @_C_nextcmd, align 4
        %tmp3.i.i.i.i95.i = call i8* @calloc( i32 15, i32 1 )           ; <i8*> [#uses=1]
        %tmp1.i98.i = getelementptr [100 x i8*], [100 x i8*]* @_C_cmds, i32 0, i32 %tmp.i91.i           ; <i8**> [#uses=1]
@@ -78,7 +78,7 @@ cond_next212.i:               ; preds = %cond_next212.i, %cond_next212.i, %cond_next212.i, %c
        %argv_addr.2321.0.i = phi i8** [ %argv, %entry ], [ %tmp214.i, %bb192.i ], [ %tmp214.i, %C_addcmd.exit120.i ], [ %tmp214.i, %bb30.i ], [ %tmp214.i, %bb21.i ], [ %tmp214.i, %cond_next212.i ], [ %tmp214.i, %cond_next212.i ], [ %tmp214.i, %cond_next212.i ], [ %tmp214.i, %cond_next212.i ]           ; <i8**> [#uses=2]
        %argc_addr.2358.0.i = phi i32 [ %argc, %entry ], [ %tmp205399.i, %bb30.i ], [ 0, %bb21.i ], [ 0, %C_addcmd.exit120.i ], [ 0, %bb192.i ], [ 0, %cond_next212.i ], [ 0, %cond_next212.i ], [ 0, %cond_next212.i ], [ 0, %cond_next212.i ]         ; <i32> [#uses=1]
        %tmp214.i = getelementptr i8*, i8** %argv_addr.2321.0.i, i32 1          ; <i8**> [#uses=9]
-       %tmp215.i = load i8** %tmp214.i         ; <i8*> [#uses=1]
+       %tmp215.i = load i8*, i8** %tmp214.i            ; <i8*> [#uses=1]
        %tmp1314.i = sext i8 0 to i32           ; <i32> [#uses=1]
        switch i32 %tmp1314.i, label %bb192.i [
                 i32 76, label %C_addcmd.exit120.i