mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
7674324b11
Patch by Arnold Schwaighofer. llvm-svn: 279251
23 lines
445 B
LLVM
23 lines
445 B
LLVM
; RUN: llc -march=hexagon < %s | FileCheck %s
|
|
|
|
target triple = "hexagon"
|
|
|
|
declare hidden fastcc void @callee(i32, i32) #0
|
|
declare hidden void @callee2(i32, i32) #0
|
|
|
|
; CHECK: jump callee
|
|
define void @caller(i32 %pp) #0 {
|
|
entry:
|
|
tail call fastcc void @callee(i32 %pp, i32 0)
|
|
ret void
|
|
}
|
|
|
|
; CHECK: jump callee2
|
|
define void @caller2(i32 %pp) #0 {
|
|
entry:
|
|
tail call fastcc void @callee2(i32 %pp, i32 0)
|
|
ret void
|
|
}
|
|
|
|
attributes #0 = { nounwind }
|