From d365941ba7839d101d47289329406accf6d1ad42 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 6 Oct 2008 17:30:07 +0000 Subject: Remove unncessary isDeclaration() checks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57179 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/LoopAligner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/LoopAligner.cpp') diff --git a/lib/CodeGen/LoopAligner.cpp b/lib/CodeGen/LoopAligner.cpp index 60e3f19..b8d0059 100644 --- a/lib/CodeGen/LoopAligner.cpp +++ b/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) { -- cgit v1.1