summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fp-stack-ret.ll
blob: d688f94daa5e23d0dec65cb053b44b641b8fc6de (plain)
1
2
3
4
5
6
7
8
9
10
11
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
}