summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LoopAligner.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-10-06 17:30:07 +0000
committerDevang Patel <dpatel@apple.com>2008-10-06 17:30:07 +0000
commitab379c905ba537a34f696ac4be41e2e1a481dc0d (patch)
treea09460e3e5f3748e83d48ab6cb152fd29f9f6809 /llvm/lib/CodeGen/LoopAligner.cpp
parent9a1191c047f3f2a135a1375881d3a73fc2c09140 (diff)
downloadbcm5719-llvm-ab379c905ba537a34f696ac4be41e2e1a481dc0d.tar.gz
bcm5719-llvm-ab379c905ba537a34f696ac4be41e2e1a481dc0d.zip
Remove unncessary isDeclaration() checks.
llvm-svn: 57179
Diffstat (limited to 'llvm/lib/CodeGen/LoopAligner.cpp')
-rw-r--r--llvm/lib/CodeGen/LoopAligner.cpp2
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) {
OpenPOWER on IntegriCloud