1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

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

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