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
This commit is contained in:
Chris Lattner 2005-09-01 23:08:50 +00:00
parent a82f7b2be0
commit 2b8ad8e55a

View File

@ -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";