[PATCH] D18761: [mips] Enable IAS by default for 32-bit MIPS targets (O32).

Daniel Sanders via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 4 09:31:48 PDT 2016

dsanders created this revision.
dsanders added a reviewer: vkalintiris.
dsanders added a subscriber: cfe-commits.
dsanders added a dependency: D18753: [mips][sanitizer_common] Don't use `ld` in internal_clone() on 32-bit MIPS..

The MIPS IAS can now pass 'ninja check-all' and recurse now that the immediates
are all range checked properly.

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.

Depends on D18753



Index: lib/Driver/ToolChains.cpp
--- lib/Driver/ToolChains.cpp
+++ lib/Driver/ToolChains.cpp
@@ -2396,6 +2396,8 @@
   case llvm::Triple::ppc64:
   case llvm::Triple::ppc64le:
   case llvm::Triple::systemz:
+  case llvm::Triple::mips:
+  case llvm::Triple::mipsel:
     return true;
     return false;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18761.52567.patch
Type: text/x-patch
Size: 381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160404/9f8715b8/attachment-0001.bin>

More information about the cfe-commits mailing list