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