projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9930da
)
Add test case for PTX ret instruction
author
Che-Liang Chiou
<clchiou@gmail.com>
Sat, 25 Sep 2010 07:49:54 +0000
(07:49 +0000)
committer
Che-Liang Chiou
<clchiou@gmail.com>
Sat, 25 Sep 2010 07:49:54 +0000
(07:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114789
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/PTX/ret.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/PTX/ret.ll
b/test/CodeGen/PTX/ret.ll
new file mode 100644
(file)
index 0000000..
c129ffe
--- /dev/null
+++ b/
test/CodeGen/PTX/ret.ll
@@ -0,0
+1,6
@@
+; RUN: llc < %s -march=ptx | FileCheck %s
+
+define ptx_device void @t1() {
+;CHECK: ret;
+ ret void
+}