From: Daniel Sanders Date: Sat, 14 May 2016 12:43:08 +0000 (+0000) Subject: [mips] Enable IAS by default for 32-bit MIPS targets (O32). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6677e84ab5c3dca2c0c5fbb4d8a0152332044ece;p=clang [mips] Enable IAS by default for 32-bit MIPS targets (O32). Summary: The MIPS IAS can now pass 'ninja check-all', recurse, build a bootable linux kernel, and pass a variety of LNT testing. Unfortunately we can't enable it by default for 64-bit targets yet since the N32 ABI is still very buggy and this also means we can't enable it for N64 either because we can't distinguish between N32 and N64 in the relevant code. Reviewers: vkalintiris Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D18759 Differential Revision: http://reviews.llvm.org/D18761 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269560 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 0585768d12..e526cc8f99 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -2444,6 +2444,8 @@ bool Generic_GCC::IsIntegratedAssemblerDefault() const { case llvm::Triple::ppc64: case llvm::Triple::ppc64le: case llvm::Triple::systemz: + case llvm::Triple::mips: + case llvm::Triple::mipsel: return true; default: return false;