android_mt6572_jiabo/external/llvm/test/CodeGen/NVPTX/callchain.ll
2025-09-05 16:56:03 +08:00

10 lines
235 B
LLVM

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