From 2b8ad8e55ac04472af769fa36d80893330f90f3d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 1 Sep 2005 23:08:50 +0000 Subject: [PATCH] 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). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23194 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCAsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index d68b7401db7..c81bad35458 100644 --- a/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/lib/Target/PowerPC/PPCAsmPrinter.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";