$OpenBSD: patch-lib_Target_Mips_MCTargetDesc_MipsMCAsmInfo_cpp,v 1.3 2017/02/10 09:37:43 ajacoutot Exp $

Use the integrated assembler by default on Mips64.

--- lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp.orig	Mon Oct 10 19:41:29 2016
+++ lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp	Sun Jan  1 17:55:32 2017
@@ -63,4 +63,8 @@ MipsMCAsmInfo::MipsMCAsmInfo(const Triple &TheTriple) 
   // Enable IAS by default for Debian mips64/mips64el.
   if (TheTriple.getEnvironment() == Triple::GNUABI64)
     UseIntegratedAssembler = true;
+
+  // Enable IAS by default for OpenBSD mips64/mips64el.
+  if (TheTriple.getOS() == Triple::OpenBSD)
+    UseIntegratedAssembler = true;
 }
