callchain.ll 235 B

12345678910
  1. ; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
  2. target triple = "nvptx"
  3. define void @foo(i8* %ptr) {
  4. %fnptr = bitcast i8* %ptr to void ()*
  5. ; CHECK: prototype_0 : .callprototype ()_ ()
  6. tail call void %fnptr()
  7. ret void
  8. }