aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PTX/exit.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PTX/exit.ll')
-rw-r--r--test/CodeGen/PTX/exit.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/PTX/exit.ll b/test/CodeGen/PTX/exit.ll
new file mode 100644
index 0000000..1fb297c
--- /dev/null
+++ b/test/CodeGen/PTX/exit.ll
@@ -0,0 +1,6 @@
+; RUN: llc < %s -march=ptx | FileCheck %s
+
+define ptx_kernel void @t1() {
+;CHECK: exit;
+ ret void
+}