From e22e62b5c07616782cc3dca50f5f369965eb095c Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Tue, 25 Mar 2008 22:29:46 +0000 Subject: Smaller function alignment when optimizing for size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48805 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCAsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Target/PowerPC/PPCAsmPrinter.cpp') diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index 0711313139..2537d67dda 100644 --- a/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -819,7 +819,7 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) { if (const char *Directive = TAI->getHiddenDirective()) O << Directive << CurrentFnName << "\n"; - EmitAlignment(4, F); + EmitAlignment(OptimizeForSize ? 2 : 4, F); O << CurrentFnName << ":\n"; // Emit pre-function debug information. -- cgit v1.2.3-18-g5258