]> granicus.if.org Git - clang/commitdiff
[mips] Enable IAS by default for 32-bit MIPS targets (O32).
authorDaniel Sanders <daniel.sanders@imgtec.com>
Sat, 14 May 2016 12:43:08 +0000 (12:43 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Sat, 14 May 2016 12:43:08 +0000 (12:43 +0000)
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

lib/Driver/ToolChains.cpp

index 0585768d12f0e8cce6c52d2824b67a25b2e99210..e526cc8f99452aac7e6088966625c0f0f8c9600c 100644 (file)
@@ -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;