1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

[mips][ias] Enable IAS by default for OpenBSD / FreeBSD mips64/mips64el.

Reviewers: atanasyan

Differential Review: https://reviews.llvm.org/D31557

llvm-svn: 335434
This commit is contained in:
Brad Smith 2018-06-24 15:44:47 +00:00
parent b2044ee5c4
commit 11b1a62550

View File

@ -65,4 +65,9 @@ MipsMCAsmInfo::MipsMCAsmInfo(const Triple &TheTriple) {
// 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;
}