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
-; 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 >
-; 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: