Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
81fe1fbf4abd00b24e078a80cb15a2d2c1343f11
/
.
/
llvm
/
test
/
CodeGen
/
NVPTX
/
callchain.ll
blob: 60b118b6a199302f28a187a9f4b395b0098f3cf4 [
file
] [
log
] [
blame
]
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
target
triple
=
"nvptx"
define
void
@foo
(
i8
*
%ptr
)
{
%fnptr
=
bitcast
i8
*
%ptr
to
void
()*
; CHECK: prototype_0 : .callprototype ()_ ()
tail
call
void
%fnptr
()
ret
void
}