You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
349 B

; 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" }