[mips] Enable using of integrated assembler in all cases.

llvm-svn: 348934
This commit is contained in:
Simon Atanasyan 2018-12-12 15:32:03 +00:00
parent d8ccc0e3e4
commit fa020082e4
1 changed files with 1 additions and 21 deletions

View File

@ -49,25 +49,5 @@ MipsMCAsmInfo::MipsMCAsmInfo(const Triple &TheTriple) {
ExceptionsType = ExceptionHandling::DwarfCFI;
DwarfRegNumForCFI = true;
HasMipsExpressions = true;
// Enable IAS by default for O32.
if (TheTriple.isMIPS32())
UseIntegratedAssembler = true;
// Enable IAS by default for Debian mips64/mips64el.
if (TheTriple.getEnvironment() == Triple::GNUABI64)
UseIntegratedAssembler = true;
// Enable IAS by default for Debian mipsn32/mipsn32el.
if (TheTriple.getEnvironment() == Triple::GNUABIN32)
UseIntegratedAssembler = true;
// Enable IAS by default for Android mips64el that uses N64 ABI.
if (TheTriple.getArch() == Triple::mips64el && TheTriple.isAndroid())
UseIntegratedAssembler = true;
// Enable IAS by default for FreeBSD / OpenBSD mips64/mips64el.
if (TheTriple.isOSFreeBSD() ||
TheTriple.isOSOpenBSD())
UseIntegratedAssembler = true;
UseIntegratedAssembler = true;
}