[llvm-commits] CVS: llvm/lib/Target/ARM/ARMAsmPrinter.cpp

Evan Cheng evan.cheng at apple.com
Wed Jan 31 15:39:57 PST 2007



Changes in directory llvm/lib/Target/ARM:

ARMAsmPrinter.cpp updated: 1.55 -> 1.56
---
Log message:

Don't emit unnecessary .align directive.

---
Diffs of the changes:  (+1 -3)

 ARMAsmPrinter.cpp |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)


Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp
diff -u llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.55 llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.56
--- llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.55	Tue Jan 30 14:37:08 2007
+++ llvm/lib/Target/ARM/ARMAsmPrinter.cpp	Wed Jan 31 17:39:39 2007
@@ -694,10 +694,8 @@
     }
     break;
   default: {
-    if (InCPMode && AFI->isThumbFunction()) {
-      EmitAlignment(1);
+    if (InCPMode && AFI->isThumbFunction())
       InCPMode = false;
-    }
     switch (Opc) {
     case ARM::PICADD:
     case ARM::PICLD:






More information about the llvm-commits mailing list