CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / 2006-05-01-SchedCausingSpills.ll
index 5cba3efeefb8704ce037697720b0a5965b42e0c7..583877e6658200f057bc8a7efd886bf1a8c47c3e 100644 (file)
@@ -1,13 +1,14 @@
+; REQUIRES: asserts
 ; RUN: llc < %s -march=x86 -mcpu=yonah -stats 2>&1 | \
 ; RUN:   not grep "Number of register spills"
 ; END.
 
 
 define i32 @foo(<4 x float>* %a, <4 x float>* %b, <4 x float>* %c, <4 x float>* %d) {
-       %tmp44 = load <4 x float>* %a           ; <<4 x float>> [#uses=9]
-       %tmp46 = load <4 x float>* %b           ; <<4 x float>> [#uses=1]
-       %tmp48 = load <4 x float>* %c           ; <<4 x float>> [#uses=1]
-       %tmp50 = load <4 x float>* %d           ; <<4 x float>> [#uses=1]
+       %tmp44 = load <4 x float>, <4 x float>* %a              ; <<4 x float>> [#uses=9]
+       %tmp46 = load <4 x float>, <4 x float>* %b              ; <<4 x float>> [#uses=1]
+       %tmp48 = load <4 x float>, <4 x float>* %c              ; <<4 x float>> [#uses=1]
+       %tmp50 = load <4 x float>, <4 x float>* %d              ; <<4 x float>> [#uses=1]
        %tmp51 = bitcast <4 x float> %tmp44 to <4 x i32>                ; <<4 x i32>> [#uses=1]
        %tmp = shufflevector <4 x i32> %tmp51, <4 x i32> undef, <4 x i32> < i32 3, i32 3, i32 3, i32 3 >                ; <<4 x i32>> [#uses=2]
        %tmp52 = bitcast <4 x i32> %tmp to <4 x float>          ; <<4 x float>> [#uses=1]