aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/sibcall-3.ll
blob: c2cddfa214ee0f25885ce5ee3901f69d5888699e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: llc < %s -mtriple=i386-unknown-unknown | FileCheck %s
; PR7193

define void @t1(ptr inreg %dst, ptr inreg %src, ptr inreg %len) nounwind {
; CHECK-LABEL: t1:
; CHECK: calll 0
  tail call void null(ptr inreg %dst, ptr inreg %src, ptr inreg %len) nounwind
  ret void
}

define void @t2(ptr inreg %dst, ptr inreg %src, ptr inreg %len) nounwind {
; CHECK-LABEL: t2:
; CHECK: jmpl
  tail call void null(ptr inreg %dst, ptr inreg %src) nounwind
  ret void
}