diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2009-10-09 06:31:25 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2009-10-09 06:31:25 +0000 |
| commit | 7ddb844a2d937c95c02304f268a4943f6b25eb83 (patch) | |
| tree | 1ca04fdefac5733a0fc42f841b034c3f65e8f9e2 /llvm/lib | |
| parent | 7c442bddf465c2a849ea5ee29ca9ca984b4dabd0 (diff) | |
| download | bcm5719-llvm-7ddb844a2d937c95c02304f268a4943f6b25eb83.tar.gz bcm5719-llvm-7ddb844a2d937c95c02304f268a4943f6b25eb83.zip | |
Give Dan and my recent changes, machine LICM is now code size neutral.
llvm-svn: 83624
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/MachineLICM.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/MachineLICM.cpp b/llvm/lib/CodeGen/MachineLICM.cpp index e60139cb923..5e2d39e1abe 100644 --- a/llvm/lib/CodeGen/MachineLICM.cpp +++ b/llvm/lib/CodeGen/MachineLICM.cpp @@ -131,10 +131,6 @@ static bool LoopIsOuterMostWithPreheader(MachineLoop *CurLoop) { /// loop. /// bool MachineLICM::runOnMachineFunction(MachineFunction &MF) { - const Function *F = MF.getFunction(); - if (F->hasFnAttr(Attribute::OptimizeForSize)) - return false; - DEBUG(errs() << "******** Machine LICM ********\n"); Changed = false; |

