aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/fp-stack-direct-ret.ll
blob: f1bb5adf8e1620c97fb261b7e473f6c0cb85b862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; 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
}