summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/tailcall2.ll
blob: f1eb1529c12340e9794a64484c363d3408e018a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc < %s -march=x86    -asm-verbose=false | FileCheck %s
; RUN: llc < %s -march=x86-64 -asm-verbose=false | FileCheck %s

define void @bar(i32 %x) nounwind ssp {
entry:
; CHECK: bar:
; CHECK: jmp _foo
  tail call void @foo() nounwind
  ret void
}

declare void @foo()
OpenPOWER on IntegriCloud