1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/CodeGen/Hexagon/simpletailcall.ll
Krzysztof Parzyszek f9268a010f [Hexagon] Remove support for V4
llvm-svn: 344791
2018-10-19 17:31:11 +00:00

17 lines
349 B
LLVM

; RUN: llc -march=hexagon < %s | FileCheck %s
; CHECK: f0
; CHECK-NOT: allocframe
; CHECK-NOT: memd(r29
; CHECK: jump f1
define void @f0(i32 %a0) #0 {
b0:
%v0 = add nsw i32 %a0, 3
%v1 = tail call i32 bitcast (i32 (...)* @f1 to i32 (i32)*)(i32 %v0) #0
ret void
}
declare i32 @f1(...) #0
attributes #0 = { nounwind "target-cpu"="hexagonv5" }