aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/NVPTX/sm-version-37.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/NVPTX/sm-version-37.ll')
-rw-r--r--test/CodeGen/NVPTX/sm-version-37.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/NVPTX/sm-version-37.ll b/test/CodeGen/NVPTX/sm-version-37.ll
new file mode 100644
index 0000000..fd51a9c
--- /dev/null
+++ b/test/CodeGen/NVPTX/sm-version-37.ll
@@ -0,0 +1,7 @@
+; RUN: llc < %s -march=nvptx -mcpu=sm_37 | FileCheck %s
+; RUN: llc < %s -march=nvptx64 -mcpu=sm_37 | FileCheck %s
+
+
+; CHECK: .version 4.1
+; CHECK: .target sm_37
+