When CostPerUse is non-zero and tryAssign was attempting
to assign an undef VirtReg, the empty VirtReg LiveInterval would
assert in intervalIsInOneMBB.
This happens when I attempt to make the cost of all registers
except VCC have a CostPerUse of 1 on AMDGPU.
I'm not sure I will ever commit that change, because I'm not sure
it's exactly what I want. This results in overly aggressive
VCC usage instead of the relatively few operands where it is
advantageous to use it.
The testcase is the simplest case I've found where this happens
from a branch on undef, but only with the CopyCost change applied.