hanchenye-llvm-project/llvm/test/CodeGen/X86/fp-stack-direct-ret.ll

12 lines
227 B
LLVM

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