[llvm-commits] [llvm] r63906 - /llvm/trunk/test/CodeGen/X86/2009-02-05-CoalescerBug.ll

Evan Cheng evan.cheng at apple.com
Thu Feb 5 17:49:19 PST 2009


Author: evancheng
Date: Thu Feb  5 19:49:19 2009
New Revision: 63906

URL: http://llvm.org/viewvc/llvm-project?rev=63906&view=rev
Log:
Fix test. It produces unexpected code if sse4.1 is on.

Modified:
    llvm/trunk/test/CodeGen/X86/2009-02-05-CoalescerBug.ll

Modified: llvm/trunk/test/CodeGen/X86/2009-02-05-CoalescerBug.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2009-02-05-CoalescerBug.ll?rev=63906&r1=63905&r2=63906&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/2009-02-05-CoalescerBug.ll (original)
+++ llvm/trunk/test/CodeGen/X86/2009-02-05-CoalescerBug.ll Thu Feb  5 19:49:19 2009
@@ -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]





More information about the llvm-commits mailing list