[llvm-commits] CVS: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
Rafael Espindola
rafael.espindola at gmail.com
Sat Dec 9 18:53:29 PST 2006
Changes in directory llvm/lib/Target/ARM:
ARMAsmPrinter.cpp updated: 1.38 -> 1.39
---
Log message:
.align is in bits
.comm is in bytes
:-(
---
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.38 llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.39
--- llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.38 Fri Dec 8 16:06:02 2006
+++ llvm/lib/Target/ARM/ARMAsmPrinter.cpp Sat Dec 9 20:53:14 2006
@@ -303,7 +303,7 @@
O << "\t.local " << name << "\n";
O << "\t.comm " << name << "," << Size
- << "," << (unsigned)Align;
+ << "," << (unsigned) (1 << Align);
O << "\n";
} else {
switch (I->getLinkage()) {
More information about the llvm-commits
mailing list