summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-01 23:08:50 +0000
committerChris Lattner <sabre@nondot.org>2005-09-01 23:08:50 +0000
commit68d15fdfea4f132bd74f762f81fb9e30702c3633 (patch)
tree8cee5caf0fb3ae0f44078a5ef041042dafe28680 /llvm/lib
parente40a3ccd601a1f1e438dc13e100e5e35dd4b91d6 (diff)
downloadbcm5719-llvm-68d15fdfea4f132bd74f762f81fb9e30702c3633.tar.gz
bcm5719-llvm-68d15fdfea4f132bd74f762f81fb9e30702c3633.zip
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). llvm-svn: 23194
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp
index d68b7401db7..c81bad35458 100644
--- a/llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp
@@ -384,7 +384,7 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
// Print out labels for the function.
O << "\t.text\n";
- emitAlignment(2);
+ emitAlignment(4);
O << "\t.globl\t" << CurrentFnName << "\n";
O << CurrentFnName << ":\n";
OpenPOWER on IntegriCloud