mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Add a FIXME comment.
llvm-svn: 118803
This commit is contained in:
parent
abf0e10ea0
commit
d88f1d63ac
@ -944,6 +944,8 @@ bool MachineLICM::IsProfitableToHoist(MachineInstr &MI) {
|
||||
// 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);
|
||||
|
Loading…
Reference in New Issue
Block a user