[llvm-commits] [llvm] r73665 - /llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
Bob Wilson
bob.wilson at apple.com
Wed Jun 17 17:36:20 PDT 2009
Author: bwilson
Date: Wed Jun 17 19:36:17 2009
New Revision: 73665
URL: http://llvm.org/viewvc/llvm-project?rev=73665&view=rev
Log:
ARM unified syntax is not specific to ELF; use it for Darwin, too.
Modified:
llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp?rev=73665&r1=73664&r2=73665&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp Wed Jun 17 19:36:17 2009
@@ -841,7 +841,7 @@
Mang->setUseQuotes(true);
// Thumb-2 instructions are supported only in unified assembler syntax mode.
- if (Subtarget->isTargetELF() && Subtarget->hasThumb2())
+ if (Subtarget->hasThumb2())
O << "\t.syntax unified\n";
// Emit ARM Build Attributes
More information about the llvm-commits
mailing list