[TwoAddressInstructionPass] When looking for a 3 addr conversion after commuting...
[oota-llvm.git] / test / CodeGen / X86 / 2007-11-07-MulBy4.ll
index d7fb684a6ba46f894efd730186a29a8807e0470a..06e0a779be1b66e3f5fc1b46745151995bce84c4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 | not grep imul
+; RUN: llc < %s -march=x86 | not grep imul
 
        %struct.eebb = type { %struct.eebb*, i16* }
        %struct.hf = type { %struct.hf*, i16*, i8*, i32, i32, %struct.eebb*, i32, i32, i8*, i8*, i8*, i8*, i16*, i8*, i16*, %struct.ri, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [30 x i32], %struct.eebb, i32, i8* }
@@ -7,7 +7,7 @@
 
 define fastcc i32 @foo(i16* %eptr, i8* %ecode, %struct.foo_data* %md, i32 %ims) {
 entry:
-       %tmp36 = load i32* null, align 4                ; <i32> [#uses=1]
+       %tmp36 = load i32, i32* null, align 4           ; <i32> [#uses=1]
        %tmp37 = icmp ult i32 0, %tmp36         ; <i1> [#uses=1]
        br i1 %tmp37, label %cond_next79, label %cond_true
 
@@ -15,7 +15,7 @@ cond_true:            ; preds = %entry
        ret i32 0
 
 cond_next79:           ; preds = %entry
-       %tmp85 = load i32* null, align 4                ; <i32> [#uses=1]
+       %tmp85 = load i32, i32* null, align 4           ; <i32> [#uses=1]
        %tmp86 = icmp ult i32 0, %tmp85         ; <i1> [#uses=1]
        br i1 %tmp86, label %cond_next130, label %cond_true89