[llvm] r281607 - [mips][ias] Enable IAS by default for N64 on Debian mips64el.
Simon Dardis via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 15 06:13:02 PDT 2016
Author: sdardis
Date: Thu Sep 15 08:13:01 2016
New Revision: 281607
URL: http://llvm.org/viewvc/llvm-project?rev=281607&view=rev
Log:
[mips][ias] Enable IAS by default for N64 on Debian mips64el.
Unfortunately we can't enable it for all N64 because it is not yet possible to
distinguish N32 from N64.
N64 has been confirmed to produce identical (within reason) objects to GAS
during stage 2 of compiler recursion on N64-abit Fedora. Unfortunately,
Fedora's triples do not distinguish N32 from N64 so I can't enable it by
default there. I'm currently repeating this testing for Debian mips64el but
it's very unlikely to produce a different result.
Patch by: Daniel Sanders
Reviewers: sdardis
Differential Review: https://reviews.llvm.org/D22678
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=281607&r1=281606&r2=281607&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp Thu Sep 15 08:13:01 2016
@@ -59,4 +59,8 @@ MipsMCAsmInfo::MipsMCAsmInfo(const Tripl
if (TheTriple.getArch() == Triple::mips ||
TheTriple.getArch() == Triple::mipsel)
UseIntegratedAssembler = true;
+
+ // Enable IAS by default for Debian mips64/mips64el.
+ if (TheTriple.getEnvironment() == Triple::GNUABI64)
+ UseIntegratedAssembler = true;
}
More information about the llvm-commits
mailing list