Don't set PrivateGlobalPrefix for NVPTX and R600.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 3 Dec 2013 01:03:35 +0000 (01:03 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 3 Dec 2013 01:03:35 +0000 (01:03 +0000)
These targets have special asm printers that don't use these.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196187 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp

index 636a6bec6abbbb8e8c3ff589fbe725fda8cca341..366341afe1b8fa3a86781a7cf1df5de3193fc42f 100644 (file)
@@ -47,7 +47,6 @@ NVPTXMCAsmInfo::NVPTXMCAsmInfo(const StringRef &TT) {
   Data16bitsDirective = " .b16 ";
   Data32bitsDirective = " .b32 ";
   Data64bitsDirective = " .b64 ";
-  PrivateGlobalPrefix = "";
   ZeroDirective = " .b8";
   AsciiDirective = " .b8";
   AscizDirective = " .b8";
index c714bba7bdab146c54884736efe575cf309b1e0b..5339e7f6f70f5e517ec212986e3faff425a9fa9c 100644 (file)
@@ -24,7 +24,6 @@ AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfo() {
   CommentColumn = 40;
   CommentString = ";";
   LabelSuffix = ":";
-  PrivateGlobalPrefix = ";.";
   LinkerPrivateGlobalPrefix = "!";
   InlineAsmStart = ";#ASMSTART";
   InlineAsmEnd = ";#ASMEND";