16 lines · plain
1; RUN: llc -filetype=asm -o - %s | FileCheck %s2; RUN: %if ptxas %{ llc -filetype=asm -o - %s | %ptxas-verify %}3 4target datalayout = "e-i64:64-i128:128-v16:16-v32:32-n16:32:64"5target triple = "nvptx64-nvidia-cuda"6 7%func = type { ptr }8 9; CHECK: foo10; CHECK: call11; CHECK: ret12define void @foo() {13 %call = call %func undef(i32 0, i32 1)14 ret void15}16