11 lines · plain
1; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_20 | FileCheck %s2; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_20 | %ptxas-verify %}3 4target triple = "nvptx"5 6define void @foo(ptr %ptr) {7; CHECK: prototype_0 : .callprototype ()_ ()8 tail call void %ptr()9 ret void10}11