[llvm] r219238 - R600: Remove some redundant initializations from AMDGPUMCAsmInfo

Tom Stellard thomas.stellard at amd.com
Tue Oct 7 14:09:25 PDT 2014


Author: tstellar
Date: Tue Oct  7 16:09:25 2014
New Revision: 219238

URL: http://llvm.org/viewvc/llvm-project?rev=219238&view=rev
Log:
R600: Remove some redundant initializations from AMDGPUMCAsmInfo

Modified:
    llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp

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=219238&r1=219237&r2=219238&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp Tue Oct  7 16:09:25 2014
@@ -15,17 +15,12 @@ AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringR
   HasSingleParameterDotFile = false;
   //===------------------------------------------------------------------===//
   HasSubsectionsViaSymbols = true;
-  HasMachoZeroFillDirective = false;
-  HasMachoTBSSDirective = false;
-  HasStaticCtorDtorReferenceInStaticMode = false;
   LinkerRequiresNonEmptyDwarfLines = true;
   MaxInstLength = 16;
   SeparatorString = "\n";
   CommentString = ";";
-  LabelSuffix = ":";
   InlineAsmStart = ";#ASMSTART";
   InlineAsmEnd = ";#ASMEND";
-  AssemblerDialect = 0;
 
   //===--- Data Emission Directives -------------------------------------===//
   ZeroDirective = ".zero";
@@ -35,14 +30,9 @@ AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringR
   Data16bitsDirective = ".short\t";
   Data32bitsDirective = ".long\t";
   Data64bitsDirective = ".quad\t";
-  GPRel32Directive = nullptr;
   SunStyleELFSectionSwitchSyntax = true;
   UsesELFSectionDirectiveForBSS = true;
 
-  //===--- Alignment Information ----------------------------------------===//
-  AlignmentIsInBytes = true;
-  TextAlignFillValue = 0;
-
   //===--- Global Variable Emission Directives --------------------------===//
   GlobalDirective = ".global";
   HasSetDirective = false;





More information about the llvm-commits mailing list