fix a missing shuffle pattern, PR9009. Patch by Artiom Myaskouvskey!
[oota-llvm.git] / test / CodeGen / X86 / coalescer-commute3.ll
index ea756372253622cf77a80c042f185afe6ea47985..e5bd448a4158a277a5c92490f9c419ea943bbb91 100644 (file)
@@ -1,8 +1,8 @@
-; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin -mattr=+sse2 | grep mov | count 6
+; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | grep mov | count 6
 
        %struct.quad_struct = type { i32, i32, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct* }
 
-define fastcc i32 @perimeter(%struct.quad_struct* %tree, i32 %size) nounwind  {
+define  i32 @perimeter(%struct.quad_struct* %tree, i32 %size) nounwind  {
 entry:
        switch i32 %size, label %UnifiedReturnBlock [
                 i32 2, label %bb
@@ -10,8 +10,8 @@ entry:
        ]
 
 bb:            ; preds = %entry
-       %tmp31 = tail call fastcc i32 @perimeter( %struct.quad_struct* null, i32 0 ) nounwind           ; <i32> [#uses=1]
-       %tmp40 = tail call fastcc i32 @perimeter( %struct.quad_struct* null, i32 0 ) nounwind           ; <i32> [#uses=1]
+       %tmp31 = tail call  i32 @perimeter( %struct.quad_struct* null, i32 0 ) nounwind                 ; <i32> [#uses=1]
+       %tmp40 = tail call  i32 @perimeter( %struct.quad_struct* null, i32 0 ) nounwind                 ; <i32> [#uses=1]
        %tmp33 = add i32 0, %tmp31              ; <i32> [#uses=1]
        %tmp42 = add i32 %tmp33, %tmp40         ; <i32> [#uses=1]
        ret i32 %tmp42