Fix test. It produces unexpected code if sse4.1 is on.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 6 Feb 2009 01:49:19 +0000 (01:49 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 6 Feb 2009 01:49:19 +0000 (01:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63906 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2009-02-05-CoalescerBug.ll

index e57238a7b9689da966e9cc2518ac7ac8c12cdd0e..39cad73d4c093c3d32b42d4c68f253d8553b31cc 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movss  | count 2
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movaps | count 4
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2,-sse41 | grep movss  | count 2
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2,-sse41 | grep movaps | count 4
 
-define i1 @cfft2_bb12_bb12_2E_ce([2 x float]* %y, [2 x float]* %w, i32, [2 x float]* %x.pn59, i32 %smax190, i32 %j.1180, <4 x float> %wu.2179, <4 x float> %wr.2178, <4 x float>* %tmp89.out, <4 x float>* %tmp107.out, i32* %indvar.next218.out) nounwind {
+define i1 @t([2 x float]* %y, [2 x float]* %w, i32, [2 x float]* %x.pn59, i32 %smax190, i32 %j.1180, <4 x float> %wu.2179, <4 x float> %wr.2178, <4 x float>* %tmp89.out, <4 x float>* %tmp107.out, i32* %indvar.next218.out) nounwind {
 newFuncRoot:
        %tmp82 = insertelement <4 x float> %wr.2178, float 0.000000e+00, i32 0          ; <<4 x float>> [#uses=1]
        %tmp85 = insertelement <4 x float> %tmp82, float 0.000000e+00, i32 1            ; <<4 x float>> [#uses=1]