aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorChe-Liang Chiou <clchiou@gmail.com>2010-09-25 07:46:17 +0000
committerChe-Liang Chiou <clchiou@gmail.com>2010-09-25 07:46:17 +0000
commitf9930da2ef72350c6c805af09e754e4e6e13d47b (patch)
tree5baed7682d74e1a588a5c16e4581e81749897bea /test/CodeGen
parent534771fc4f99a8c69802f58ce97e566fd0942f70 (diff)
downloadexternal_llvm-f9930da2ef72350c6c805af09e754e4e6e13d47b.zip
external_llvm-f9930da2ef72350c6c805af09e754e4e6e13d47b.tar.gz
external_llvm-f9930da2ef72350c6c805af09e754e4e6e13d47b.tar.bz2
Add ret instruction to PTX backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/PTX/exit.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/PTX/exit.ll b/test/CodeGen/PTX/exit.ll
index e2b3857..1fb297c 100644
--- a/test/CodeGen/PTX/exit.ll
+++ b/test/CodeGen/PTX/exit.ll
@@ -1,6 +1,6 @@
; RUN: llc < %s -march=ptx | FileCheck %s
-define void @t1() {
+define ptx_kernel void @t1() {
;CHECK: exit;
ret void
}