Use the integrated assembler by default on 32-bit PowerPC and SPARC
authorBrad Smith <brad@comstyle.com>
Mon, 5 Jan 2015 21:48:16 +0000 (21:48 +0000)
committerBrad Smith <brad@comstyle.com>
Mon, 5 Jan 2015 21:48:16 +0000 (21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225213 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp

index 1be7b482b6a32b46f52a2dd78b11d4a9f65647a9..2b4f2d81db85a4dd9c3896519ff35fb45e1f3343 100644 (file)
@@ -74,7 +74,6 @@ PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) {
   AssemblerDialect = 1;           // New-Style mnemonics.
   LCOMMDirectiveAlignmentType = LCOMM::ByteAlignment;
 
-  if (T.isOSFreeBSD() || ((T.isOSNetBSD() || T.isOSOpenBSD()) && !is64Bit))
-    UseIntegratedAssembler = true;
+  UseIntegratedAssembler = true;
 }
 
index 42690206e8c73468d3d51a127a7f3a55cb2260c6..6767e4b224f8fef60a2592bba37d36a2320e1af0 100644 (file)
@@ -42,8 +42,7 @@ SparcELFMCAsmInfo::SparcELFMCAsmInfo(StringRef TT) {
   SunStyleELFSectionSwitchSyntax = true;
   UsesELFSectionDirectiveForBSS = true;
 
-  if (TheTriple.isOSSolaris() || TheTriple.isOSOpenBSD())
-    UseIntegratedAssembler = true;
+  UseIntegratedAssembler = true;
 }
 
 const MCExpr*