mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34583 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cb18656734
commit
f4acec1be8
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…
Reference in New Issue
Block a user