[llvm] r196187 - Don't set PrivateGlobalPrefix for NVPTX and R600.
Rafael Espindola
rafael.espindola at gmail.com
Mon Dec 2 17:03:35 PST 2013
Author: rafael
Date: Mon Dec 2 19:03:35 2013
New Revision: 196187
URL: http://llvm.org/viewvc/llvm-project?rev=196187&view=rev
Log:
Don't set PrivateGlobalPrefix for NVPTX and R600.
These targets have special asm printers that don't use these.
Modified:
llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp
Modified: llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp?rev=196187&r1=196186&r2=196187&view=diff
==============================================================================
--- llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp Mon Dec 2 19:03:35 2013
@@ -47,7 +47,6 @@ NVPTXMCAsmInfo::NVPTXMCAsmInfo(const Str
Data16bitsDirective = " .b16 ";
Data32bitsDirective = " .b32 ";
Data64bitsDirective = " .b64 ";
- PrivateGlobalPrefix = "";
ZeroDirective = " .b8";
AsciiDirective = " .b8";
AscizDirective = " .b8";
Modified: llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp?rev=196187&r1=196186&r2=196187&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp Mon Dec 2 19:03:35 2013
@@ -24,7 +24,6 @@ AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringR
CommentColumn = 40;
CommentString = ";";
LabelSuffix = ":";
- PrivateGlobalPrefix = ";.";
LinkerPrivateGlobalPrefix = "!";
InlineAsmStart = ";#ASMSTART";
InlineAsmEnd = ";#ASMEND";
More information about the llvm-commits
mailing list