[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Sep 1 16:09:01 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PowerPCAsmPrinter.cpp updated: 1.90 -> 1.91
---
Log message:
Align functions to 16-byte boundaries, to eliminate noise in performance measurements. This improves the performance of 'treeadd' by about 20% with the dag
isel, restoring it to the pattern-isel level (which happens to get the alignment right).
---
Diffs of the changes: (+1 -1)
PowerPCAsmPrinter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.90 llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.91
--- llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.90 Thu Sep 1 16:48:35 2005
+++ llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp Thu Sep 1 18:08:50 2005
@@ -384,7 +384,7 @@
// Print out labels for the function.
O << "\t.text\n";
- emitAlignment(2);
+ emitAlignment(4);
O << "\t.globl\t" << CurrentFnName << "\n";
O << CurrentFnName << ":\n";
More information about the llvm-commits
mailing list