mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
f9268a010f
llvm-svn: 344791
17 lines
349 B
LLVM
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" }
|