[llvm-commits] [llvm] r118803 - /llvm/trunk/lib/CodeGen/MachineLICM.cpp
Dan Gohman
gohman at apple.com
Thu Nov 11 10:08:43 PST 2010
Author: djg
Date: Thu Nov 11 12:08:43 2010
New Revision: 118803
URL: http://llvm.org/viewvc/llvm-project?rev=118803&view=rev
Log:
Add a FIXME comment.
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=118803&r1=118802&r2=118803&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineLICM.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineLICM.cpp Thu Nov 11 12:08:43 2010
@@ -944,6 +944,8 @@
// In low register pressure situation, we can be more aggressive about
// hoisting. Also, favors hoisting long latency instructions even in
// moderately high pressure situation.
+ // FIXME: If there are long latency loop-invariant instructions inside the
+ // loop at this point, why didn't the optimizer's LICM hoist them?
DenseMap<unsigned, int> Cost;
for (unsigned i = 0, e = MI.getDesc().getNumOperands(); i != e; ++i) {
const MachineOperand &MO = MI.getOperand(i);
More information about the llvm-commits
mailing list