[llvm] r335434 - [mips][ias] Enable IAS by default for OpenBSD / FreeBSD mips64/mips64el.
Brad Smith via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 24 08:44:47 PDT 2018
Author: brad
Date: Sun Jun 24 08:44:47 2018
New Revision: 335434
URL: http://llvm.org/viewvc/llvm-project?rev=335434&view=rev
Log:
[mips][ias] Enable IAS by default for OpenBSD / FreeBSD mips64/mips64el.
Reviewers: atanasyan
Differential Review: https://reviews.llvm.org/D31557
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=335434&r1=335433&r2=335434&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp Sun Jun 24 08:44:47 2018
@@ -65,4 +65,9 @@ MipsMCAsmInfo::MipsMCAsmInfo(const Tripl
// Enable IAS by default for Android mips64el that uses N64 ABI.
if (TheTriple.getArch() == Triple::mips64el && TheTriple.isAndroid())
UseIntegratedAssembler = true;
+
+ // Enable IAS by default for FreeBSD / OpenBSD mips64/mips64el.
+ if (TheTriple.isOSFreeBSD() ||
+ TheTriple.isOSOpenBSD())
+ UseIntegratedAssembler = true;
}
More information about the llvm-commits
mailing list