From: Che-Liang Chiou Date: Sat, 25 Sep 2010 07:49:54 +0000 (+0000) Subject: Add test case for PTX ret instruction X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8db2defa839d8a510391ba28564b413c78326cda;p=oota-llvm.git Add test case for PTX ret instruction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114789 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/PTX/ret.ll b/test/CodeGen/PTX/ret.ll new file mode 100644 index 00000000000..c129ffe6ffa --- /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 +}