[llvm] r308742 - [mips] Enable IAS by default for Android MIPS64

Petar Jovanovic via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 21 07:25:43 PDT 2017


Author: petarj
Date: Fri Jul 21 07:25:42 2017
New Revision: 308742

URL: http://llvm.org/viewvc/llvm-project?rev=308742&view=rev
Log:
[mips] Enable IAS by default for Android MIPS64

Follow up to r306280 in Clang.
Enable IAS by default for Android MIPS64 (uses N64 ABI).

Differential Revision: https://reviews.llvm.org/D35482

Modified:
    llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp

Modified: llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp?rev=308742&r1=308741&r2=308742&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp Fri Jul 21 07:25:42 2017
@@ -61,4 +61,8 @@ MipsMCAsmInfo::MipsMCAsmInfo(const Tripl
   // Enable IAS by default for Debian mips64/mips64el.
   if (TheTriple.getEnvironment() == Triple::GNUABI64)
     UseIntegratedAssembler = true;
+
+  // Enable IAS by default for Android mips64el that uses N64 ABI.
+  if (TheTriple.getArch() == Triple::mips64el && TheTriple.isAndroid())
+    UseIntegratedAssembler = true;
 }




More information about the llvm-commits mailing list