[PATCH] D35482: [mips] Enable IAS by default for Android MIPS64
Petar Jovanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 17 06:33:01 PDT 2017
petarj created this revision.
Herald added subscribers: arichardson, srhines.
Follow up to r306280 in Clang.
Set IAS as a default for Android MIPS64 (uses N64 ABI).
Repository:
rL LLVM
https://reviews.llvm.org/D35482
Files:
lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
Index: lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
===================================================================
--- lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
+++ lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
@@ -61,4 +61,8 @@
// 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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35482.106862.patch
Type: text/x-patch
Size: 571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170717/5e519aec/attachment.bin>
More information about the llvm-commits
mailing list