mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 05:00:26 +00:00
Use target triple in tests, not 'realign-stack=0' option. Per request.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50778 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
149a315369
commit
70e616fa0b
@ -1,4 +1,4 @@
|
|||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -realign-stack=0 -stats |& grep asm-printer | grep 14
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i386-apple-darwin -stats |& grep asm-printer | grep 14
|
||||||
|
|
||||||
define i32 @t(i8* %ref_frame_ptr, i32 %ref_frame_stride, i32 %idxX, i32 %idxY) nounwind {
|
define i32 @t(i8* %ref_frame_ptr, i32 %ref_frame_stride, i32 %idxX, i32 %idxY) nounwind {
|
||||||
entry:
|
entry:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -realign-stack=0 | not grep and
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i386-apple-darwin | not grep and
|
||||||
|
|
||||||
define <4 x float> @test(<4 x float>* %v1) {
|
define <4 x float> @test(<4 x float>* %v1) {
|
||||||
%tmp = load <4 x float>* %v1 ; <<4 x float>> [#uses=1]
|
%tmp = load <4 x float>* %v1 ; <<4 x float>> [#uses=1]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2
|
||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -realign-stack=0 | not grep mov
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i386-apple-darwin | not grep mov
|
||||||
|
|
||||||
define <4 x i32> @test() {
|
define <4 x i32> @test() {
|
||||||
%tmp131 = call <2 x i64> @llvm.x86.sse2.psrl.dq( <2 x i64> < i64 -1, i64 -1 >, i32 96 ) ; <<2 x i64>> [#uses=1]
|
%tmp131 = call <2 x i64> @llvm.x86.sse2.psrl.dq( <2 x i64> < i64 -1, i64 -1 >, i32 96 ) ; <<2 x i64>> [#uses=1]
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse,-sse2 | grep shufps | count 4
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse,-sse2 | grep shufps | count 4
|
||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse,-sse2 -realign-stack=0 | grep mov | count 2
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse,-sse2 -mtriple=i386-apple-darwin | grep mov | count 2
|
||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep pshufd | count 4
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep pshufd | count 4
|
||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep shufps
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep shufps
|
||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -realign-stack=0 | not grep mov
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -mtriple=i386-apple-darwin | not grep mov
|
||||||
|
|
||||||
define <4 x float> @t1(<4 x float> %a, <4 x float> %b) nounwind {
|
define <4 x float> @t1(<4 x float> %a, <4 x float> %b) nounwind {
|
||||||
%tmp1 = shufflevector <4 x float> %b, <4 x float> undef, <4 x i32> zeroinitializer
|
%tmp1 = shufflevector <4 x float> %b, <4 x float> undef, <4 x i32> zeroinitializer
|
||||||
|
Loading…
Reference in New Issue
Block a user