The new code should be linear in the number of DBG_VALUEs, while the old
code was quadratic.
This is also hopefully a more direct expression of the problem, which
is to:
- Rewrite all virtual register operands to stack slots or physical registers
- Uniquely number those machine operands, assigning them location numbers
- Rewrite all uses of the old location numbers in the interval map to use the new location numbers
In r313400, I attempted to track which locations were spilled in a
parallel bitvector indexed by location number. My code was broken
because these location numbers are not stable during rewriting.