mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-05 20:07:48 +00:00
Add a FIXME comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118803 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c466b937db
commit
fca0b106f7
@ -944,6 +944,8 @@ bool MachineLICM::IsProfitableToHoist(MachineInstr &MI) {
|
|||||||
// In low register pressure situation, we can be more aggressive about
|
// In low register pressure situation, we can be more aggressive about
|
||||||
// hoisting. Also, favors hoisting long latency instructions even in
|
// hoisting. Also, favors hoisting long latency instructions even in
|
||||||
// moderately high pressure situation.
|
// 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;
|
DenseMap<unsigned, int> Cost;
|
||||||
for (unsigned i = 0, e = MI.getDesc().getNumOperands(); i != e; ++i) {
|
for (unsigned i = 0, e = MI.getDesc().getNumOperands(); i != e; ++i) {
|
||||||
const MachineOperand &MO = MI.getOperand(i);
|
const MachineOperand &MO = MI.getOperand(i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user