[llvm-commits] [llvm] r83624 - /llvm/trunk/lib/CodeGen/MachineLICM.cpp
Evan Cheng
evan.cheng at apple.com
Thu Oct 8 23:31:25 PDT 2009
Author: evancheng
Date: Fri Oct 9 01:31:25 2009
New Revision: 83624
URL: http://llvm.org/viewvc/llvm-project?rev=83624&view=rev
Log:
Give Dan and my recent changes, machine LICM is now code size neutral.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineLICM.cpp?rev=83624&r1=83623&r2=83624&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineLICM.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineLICM.cpp Fri Oct 9 01:31:25 2009
@@ -131,10 +131,6 @@
/// 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;
More information about the llvm-commits
mailing list