diff options
author | Devang Patel <dpatel@apple.com> | 2008-10-06 17:30:07 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-10-06 17:30:07 +0000 |
commit | ab379c905ba537a34f696ac4be41e2e1a481dc0d (patch) | |
tree | a09460e3e5f3748e83d48ab6cb152fd29f9f6809 /llvm/lib/CodeGen/LoopAligner.cpp | |
parent | 9a1191c047f3f2a135a1375881d3a73fc2c09140 (diff) | |
download | bcm5719-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.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) { |