xref: /aosp_15_r20/external/llvm/test/CodeGen/NVPTX/callchain.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2
3target triple = "nvptx"
4
5define void @foo(i8* %ptr) {
6  %fnptr = bitcast i8* %ptr to void ()*
7; CHECK: prototype_0 : .callprototype ()_ ()
8  tail call void %fnptr()
9  ret void
10}
11