aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PTX/ret.ll
diff options
context:
space:
mode:
authorChe-Liang Chiou <clchiou@gmail.com>2010-11-17 08:08:49 +0000
committerChe-Liang Chiou <clchiou@gmail.com>2010-11-17 08:08:49 +0000
commit3f409f7fefea4d4191a914b528afe16fd7d0b4d9 (patch)
treebe75f4fab21344fd61aac50e7cd2c4e4e8eb43c9 /test/CodeGen/PTX/ret.ll
parent3642e64c114e636548888c72c21ae023ee0121a7 (diff)
downloadexternal_llvm-3f409f7fefea4d4191a914b528afe16fd7d0b4d9.zip
external_llvm-3f409f7fefea4d4191a914b528afe16fd7d0b4d9.tar.gz
external_llvm-3f409f7fefea4d4191a914b528afe16fd7d0b4d9.tar.bz2
Add simple arithmetics and %type directive for PTX
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PTX/ret.ll')
-rw-r--r--test/CodeGen/PTX/ret.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/PTX/ret.ll b/test/CodeGen/PTX/ret.ll
index c129ffe..d5037f2 100644
--- a/test/CodeGen/PTX/ret.ll
+++ b/test/CodeGen/PTX/ret.ll
@@ -1,6 +1,7 @@
; RUN: llc < %s -march=ptx | FileCheck %s
define ptx_device void @t1() {
-;CHECK: ret;
+; CHECK: ret;
+; CHECK-NOT: exit;
ret void
}