summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/fp-stack-direct-ret.ll
blob: 6e6eed39b2418ce53b19bc830cf7a4398a04bd1b (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-prefixes=ALL,GENERIC
; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | FileCheck %s --check-prefixes=ALL,YONAH

declare double @foo()

define double @bar() {
; ALL-LABEL: bar:
; ALL:       # %bb.0: # %entry
; ALL-NEXT:    jmp foo # TAILCALL
entry:
	%tmp5 = tail call double @foo()
	ret double %tmp5
}

OpenPOWER on IntegriCloud