summaryrefslogtreecommitdiff
path: root/test/CodeGen/NVPTX
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-11-22 00:16:24 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-11-22 00:16:24 +0000
commita2197f8f51c97ef61a814a7f16fd1eab20a47b5a (patch)
tree8ff804c2d4ddcc57d935197de5dffffbdf017586 /test/CodeGen/NVPTX
parent0e13c07553708c5ec5247aac8a67a7a263169902 (diff)
Have a single way for creating unique value names.
We had two code paths. One would create names like "foo.1" and the other names like "foo1". For globals it is important to use "foo.1" to help C++ name demangling. For locals there is no strong reason to go one way or the other so I kept the most common mangling (foo1). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253804 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/NVPTX')
-rw-r--r--test/CodeGen/NVPTX/symbol-naming.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/NVPTX/symbol-naming.ll b/test/CodeGen/NVPTX/symbol-naming.ll
index 0f176934ca3..7a3e6310ffd 100644
--- a/test/CodeGen/NVPTX/symbol-naming.ll
+++ b/test/CodeGen/NVPTX/symbol-naming.ll
@@ -7,10 +7,10 @@
; PTX32-NOT: .str
; PTX64-NOT: .str
-; PTX32-DAG: _$_str1
+; PTX32-DAG: _$_str.1
; PTX32-DAG: _$_str
-; PTX64-DAG: _$_str1
+; PTX64-DAG: _$_str.1
; PTX64-DAG: _$_str
target datalayout = "e-i64:64-v16:16-v32:32-n16:32:64"