llvm/test/CodeGen/X86/fp-stack-direct-ret.ll
2009-09-08 23:54:48 +00:00

12 lines
207 B
LLVM

; RUN: llc < %s -march=x86 | not grep fstp
; RUN: llc < %s -march=x86 -mcpu=yonah | not grep movsd
declare double @foo()
define double @bar() {
entry:
%tmp5 = tail call double @foo()
ret double %tmp5
}