mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 19:02:35 +00:00
new testcase
llvm-svn: 34583
This commit is contained in:
parent
f119813ff4
commit
b71ec8d1cf
12
test/CodeGen/X86/fp-stack-ret.ll
Normal file
12
test/CodeGen/X86/fp-stack-ret.ll
Normal file
@ -0,0 +1,12 @@
|
||||
; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin8 -march=x86 | grep fldl &&
|
||||
; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin8 -march=x86 | not grep xmm &&
|
||||
; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin8 -march=x86 | not grep 'sub.*esp'
|
||||
|
||||
; These testcases shouldn't require loading into an XMM register then storing
|
||||
; to memory, then reloading into an FPStack reg.
|
||||
|
||||
define double @test1(double *%P) {
|
||||
%A = load double* %P
|
||||
ret double %A
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user