[PATCH] Use the integrated assembler by default on OpenBSD/powerpc
Brad Smith
brad at comstyle.com
Tue Mar 4 18:48:27 PST 2014
On Tue, Mar 04, 2014 at 09:00:01PM -0500, Brad Smith wrote:
> To go along with the clang diff to do the same also use the
> integrated assembler by default on OpenBSD/powerpc.
Oops, what I should have submitted.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
Index: lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
===================================================================
--- lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp (revision 202914)
+++ lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp (working copy)
@@ -75,7 +75,8 @@
AssemblerDialect = 1; // New-Style mnemonics.
if (T.getOS() == llvm::Triple::FreeBSD ||
- (T.getOS() == llvm::Triple::NetBSD && !is64Bit))
+ (T.getOS() == llvm::Triple::NetBSD && !is64Bit) ||
+ (T.getOS() == llvm::Triple::OpenBSD && !is64Bit))
UseIntegratedAssembler = true;
}
More information about the llvm-commits
mailing list