These tests don't work unless SSE2 is active.
authorDale Johannesen <dalej@apple.com>
Mon, 10 Mar 2008 17:33:57 +0000 (17:33 +0000)
committerDale Johannesen <dalej@apple.com>
Mon, 10 Mar 2008 17:33:57 +0000 (17:33 +0000)
Judging from the checking comments this is intentional,
so add the flag (makes them pass on non-x86 host).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48157 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/vec_set-A.ll
test/CodeGen/X86/vec_set-B.ll

index d161d683a6f8f8181c682626f3cba00417168388..49a8e01eade5ac374c7f6e4b8555d2ffaaf2ae11 100644 (file)
@@ -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 >
index e4e5667d2f62de275776a26f2a3e60ca7b67d772..a53116c92d1b102e62b15464e813985f8d19830d 100644 (file)
@@ -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: