[llvm-commits] [llvm] r114789 - /llvm/trunk/test/CodeGen/PTX/ret.ll
Che-Liang Chiou
clchiou at gmail.com
Sat Sep 25 00:49:54 PDT 2010
Author: clchiou
Date: Sat Sep 25 02:49:54 2010
New Revision: 114789
URL: http://llvm.org/viewvc/llvm-project?rev=114789&view=rev
Log:
Add test case for PTX ret instruction
Added:
llvm/trunk/test/CodeGen/PTX/ret.ll
Added: llvm/trunk/test/CodeGen/PTX/ret.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PTX/ret.ll?rev=114789&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/PTX/ret.ll (added)
+++ llvm/trunk/test/CodeGen/PTX/ret.ll Sat Sep 25 02:49:54 2010
@@ -0,0 +1,6 @@
+; RUN: llc < %s -march=ptx | FileCheck %s
+
+define ptx_device void @t1() {
+;CHECK: ret;
+ ret void
+}
More information about the llvm-commits
mailing list