diff options
author | Chris Lattner <sabre@nondot.org> | 2005-09-01 23:08:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-09-01 23:08:50 +0000 |
commit | 2b8ad8e55ac04472af769fa36d80893330f90f3d (patch) | |
tree | c75e1ccb627bd1475f4216a986ce02a61f7b371f /lib | |
parent | a82f7b2be074e7471e35854a395b1b140c5a7fba (diff) |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/PowerPC/PPCAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index d68b7401db..c81bad3545 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"; |