1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

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).

llvm-svn: 48157
This commit is contained in:
Dale Johannesen 2008-03-10 17:33:57 +00:00
parent c9ecee85c4
commit 62a0b6a79b
2 changed files with 3 additions and 3 deletions

View 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 >

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