1; RUN: llc < %s -march=ptx32 | FileCheck %s
2
3define ptx_kernel void @t1() {
4; CHECK: exit;
5; CHECK-NOT: ret;
6 ret void
7}
8
9define ptx_kernel void @t2(i32* %p, i32 %x) {
10 store i32 %x, i32* %p
11; CHECK: exit;
12; CHECK-NOT: ret;
13 ret void
14}
15