[llvm-commits] CVS: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Thu May 31 11:58:09 PDT 2007
Changes in directory llvm/lib/Target/ARM:
ARMAsmPrinter.cpp updated: 1.74 -> 1.75
---
Log message:
Fix the asmprinter so that a globalvalue can specify an explicit alignment
smaller than the preferred alignment, but so that the target can actually
specify a minimum alignment if needed. This fixes some objc protocol
failures Devang tracked down.
---
Diffs of the changes: (+1 -1)
ARMAsmPrinter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff -u llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.74 llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.75
--- llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.74 Mon May 14 20:29:07 2007
+++ llvm/lib/Target/ARM/ARMAsmPrinter.cpp Thu May 31 13:57:45 2007
@@ -218,7 +218,7 @@
O << VisibilityDirective << CurrentFnName << "\n";
if (AFI->isThumbFunction()) {
- EmitAlignment(AFI->getAlign(), F);
+ EmitAlignment(1, F, AFI->getAlign());
O << "\t.code\t16\n";
O << "\t.thumb_func";
if (Subtarget->isTargetDarwin())
More information about the llvm-commits
mailing list