summaryrefslogtreecommitdiff
path: root/test/CodeGen/NVPTX/ptx-version-31.ll
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2012-12-02 13:10:19 +0000
committerDimitry Andric <dim@FreeBSD.org>2012-12-02 13:10:19 +0000
commit522600a229b950314b5f4af84eba4f3e8a0ffea1 (patch)
tree32b4679ab4b8f28e5228daafc65e9dc436935353 /test/CodeGen/NVPTX/ptx-version-31.ll
parent902a7b529820e6a0aa85f98f21afaeb1805a22f8 (diff)
downloadsrc-test2-522600a229b950314b5f4af84eba4f3e8a0ffea1.tar.gz
src-test2-522600a229b950314b5f4af84eba4f3e8a0ffea1.zip
Notes
Diffstat (limited to 'test/CodeGen/NVPTX/ptx-version-31.ll')
-rw-r--r--test/CodeGen/NVPTX/ptx-version-31.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/NVPTX/ptx-version-31.ll b/test/CodeGen/NVPTX/ptx-version-31.ll
new file mode 100644
index 000000000000..d6e57301a371
--- /dev/null
+++ b/test/CodeGen/NVPTX/ptx-version-31.ll
@@ -0,0 +1,6 @@
+; RUN: llc < %s -march=nvptx -mcpu=sm_20 -mattr=ptx31 | FileCheck %s
+; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 -mattr=ptx31 | FileCheck %s
+
+
+; CHECK: .version 3.1
+