diff options
Diffstat (limited to 'llvm/lib/CodeGen/LoopAligner.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LoopAligner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LoopAligner.cpp b/llvm/lib/CodeGen/LoopAligner.cpp index 60e3f194305..b8d00595d8a 100644 --- a/llvm/lib/CodeGen/LoopAligner.cpp +++ b/llvm/lib/CodeGen/LoopAligner.cpp @@ -59,7 +59,7 @@ bool LoopAligner::runOnMachineFunction(MachineFunction &MF) { return false; // Don't care about loop alignment. const Function *F = MF.getFunction(); - if (!F->isDeclaration() && F->hasFnAttr(Attribute::OptimizeForSize)) + if (F->hasFnAttr(Attribute::OptimizeForSize)) return false; for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ++I) { |

