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 | 68d15fdfea4f132bd74f762f81fb9e30702c3633 (patch) | |
| tree | 8cee5caf0fb3ae0f44078a5ef041042dafe28680 /llvm/lib | |
| parent | e40a3ccd601a1f1e438dc13e100e5e35dd4b91d6 (diff) | |
| download | bcm5719-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.cpp | 2 | 
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"; | 

