CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / scalar-extract.ll
index 172c424a782f146db0b663e4684aa0078816790c..b8ef5e74c436c657a24e96fdd9cdb8d626c5627d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+mmx -o %t -f
+; RUN: llc < %s -march=x86 -mattr=+mmx -o %t
 ; RUN: not grep movq  %t
 
 ; Check that widening doesn't introduce a mmx register in this case when
@@ -6,7 +6,7 @@
 
 define void @foo(<2 x i16>* %A, <2 x i16>* %B) {
 entry:
-       %tmp1 = load <2 x i16>* %A              ; <<2 x i16>> [#uses=1]
+       %tmp1 = load <2 x i16>, <2 x i16>* %A           ; <<2 x i16>> [#uses=1]
        store <2 x i16> %tmp1, <2 x i16>* %B
        ret void
 }