aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/NVPTX/ptx-version-30.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/NVPTX/ptx-version-30.ll')
-rw-r--r--test/CodeGen/NVPTX/ptx-version-30.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/NVPTX/ptx-version-30.ll b/test/CodeGen/NVPTX/ptx-version-30.ll
new file mode 100644
index 0000000000..0422b01f4e
--- /dev/null
+++ b/test/CodeGen/NVPTX/ptx-version-30.ll
@@ -0,0 +1,6 @@
+; RUN: llc < %s -march=nvptx -mcpu=sm_20 -mattr=ptx30 | FileCheck %s
+; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 -mattr=ptx30 | FileCheck %s
+
+
+; CHECK: .version 3.0
+