[llvm-commits] [llvm] r48157 - in /llvm/trunk/test/CodeGen/X86: vec_set-A.ll vec_set-B.ll
Dale Johannesen
dalej at apple.com
Mon Mar 10 10:33:57 PDT 2008
Author: johannes
Date: Mon Mar 10 12:33:57 2008
New Revision: 48157
URL: http://llvm.org/viewvc/llvm-project?rev=48157&view=rev
Log:
These tests don't work unless SSE2 is active.
Judging from the checking comments this is intentional,
so add the flag (makes them pass on non-x86 host).
Modified:
llvm/trunk/test/CodeGen/X86/vec_set-A.ll
llvm/trunk/test/CodeGen/X86/vec_set-B.ll
Modified: llvm/trunk/test/CodeGen/X86/vec_set-A.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/vec_set-A.ll?rev=48157&r1=48156&r2=48157&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/vec_set-A.ll (original)
+++ llvm/trunk/test/CodeGen/X86/vec_set-A.ll Mon Mar 10 12:33:57 2008
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep {movl.*\$1, %}
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep {movl.*\$1, %}
define <2 x i64> @test1() {
entry:
ret <2 x i64> < i64 1, i64 0 >
Modified: llvm/trunk/test/CodeGen/X86/vec_set-B.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/vec_set-B.ll?rev=48157&r1=48156&r2=48157&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/vec_set-B.ll (original)
+++ llvm/trunk/test/CodeGen/X86/vec_set-B.ll Mon Mar 10 12:33:57 2008
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=x86 | not grep movaps
-; RUN: llvm-as < %s | llc -march=x86 | grep esp | count 2
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep movaps
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep esp | count 2
; These should both generate something like this:
;_test3:
More information about the llvm-commits
mailing list