Displaying 2 results from an estimated 2 matches for "iszerolength".
2012 Mar 21
2
[LLVMdev] PBQP & CalcSpillWeights
...a spill (problem.isSpillOption(vreg, alloc))
The problem is that pass CalcSpillWeights can 'hint' that it is a poor
idea to spill this specific register with :
CalcSpillWeights.cpp / VirtRegAuxInfo::CalculateWeightAndHint :
// Mark li as unspillable if all live ranges are tiny.
if (li.isZeroLength(LIS.getSlotIndexes())) {
li.markNotSpillable();
...
This hint makes the register non spillable at all for the spiller (that's the
assert above), not just a bad-idea-to-spill-but-feasible. The pbqp allocator
does not cope with this distinction and allways attempts to spill it.
I woul...
2012 Mar 23
0
[LLVMdev] PBQP & CalcSpillWeights
...vreg, alloc))
>
> The problem is that pass CalcSpillWeights can 'hint' that it is a poor
> idea to spill this specific register with :
>
> CalcSpillWeights.cpp / VirtRegAuxInfo::CalculateWeightAndHint :
> // Mark li as unspillable if all live ranges are tiny.
> if (li.isZeroLength(LIS.getSlotIndexes())) {
> li.markNotSpillable();
> ...
>
> This hint makes the register non spillable at all for the spiller (that's the
> assert above), not just a bad-idea-to-spill-but-feasible. The pbqp allocator
> does not cope with this distinction and allways atte...