summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PTX/exit.ll
blob: 7816c801728f78aa3665fe2fc184f8acaa5667a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llc < %s -march=ptx32 | FileCheck %s

define ptx_kernel void @t1() {
; CHECK: exit;
; CHECK-NOT: ret;
  ret void
}

define ptx_kernel void @t2(i32* %p, i32 %x) {
  store i32 %x, i32* %p
; CHECK: exit;
; CHECK-NOT: ret;
  ret void
}
OpenPOWER on IntegriCloud