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

llvm-svn: 348935
This commit is contained in:
Simon Atanasyan 2018-12-12 15:32:25 +00:00
parent fa020082e4
commit 9d1fa349a4
1 changed files with 1 additions and 10 deletions

View File

@ -2472,18 +2472,9 @@ bool Generic_GCC::IsIntegratedAssemblerDefault() const {
case llvm::Triple::systemz:
case llvm::Triple::mips:
case llvm::Triple::mipsel:
return true;
case llvm::Triple::mips64:
case llvm::Triple::mips64el:
// Enabled for Debian, Android, FreeBSD and OpenBSD mips64/mipsel, as they
// can precisely identify the ABI in use (Debian) or only use N64 for MIPS64
// (Android). Other targets are unable to distinguish N32 from N64.
if (getTriple().getEnvironment() == llvm::Triple::GNUABI64 ||
getTriple().isAndroid() ||
getTriple().isOSFreeBSD() ||
getTriple().isOSOpenBSD())
return true;
return false;
return true;
default:
return false;
}