diff options
author | Che-Liang Chiou <clchiou@gmail.com> | 2010-09-25 07:49:54 +0000 |
---|---|---|
committer | Che-Liang Chiou <clchiou@gmail.com> | 2010-09-25 07:49:54 +0000 |
commit | 8db2defa839d8a510391ba28564b413c78326cda (patch) | |
tree | 444ed5120eb2bdb6acd43480c33b3095c3fd257a | |
parent | f9930da2ef72350c6c805af09e754e4e6e13d47b (diff) | |
download | external_llvm-8db2defa839d8a510391ba28564b413c78326cda.tar.gz external_llvm-8db2defa839d8a510391ba28564b413c78326cda.tar.bz2 external_llvm-8db2defa839d8a510391ba28564b413c78326cda.zip |
Add test case for PTX ret instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114789 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/PTX/ret.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/PTX/ret.ll b/test/CodeGen/PTX/ret.ll new file mode 100644 index 0000000000..c129ffe6ff --- /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 +} |