llvm-for-llvmta/test/CodeGen/X86/fp-stack-direct-ret.ll

16 lines
417 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=i686-- | FileCheck %s --check-prefix=ALL
; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | FileCheck %s --check-prefix=ALL
declare double @foo()
define double @bar() {
; ALL-LABEL: bar:
; ALL: # %bb.0: # %entry
; ALL-NEXT: jmp foo@PLT # TAILCALL
entry:
%tmp5 = tail call double @foo()
ret double %tmp5
}