llvm-project/llvm/test/CodeGen/PTX/ret.ll

8 lines
121 B
LLVM

; RUN: llc < %s -march=ptx32 | FileCheck %s
define ptx_device void @t1() {
; CHECK: ret;
; CHECK-NOT: exit;
ret void
}