Add a callback to notify targets whenever a virtual register is
spilled/restored during fast regalloc. The physical register is
directly spilled in case of RegAllocFast and targets sometimes
need to track the spills for certain virtual registers involved
in special operations.
Also, used cloneVirtualRegister in LiveIntervals while cloning
a virtual register.
I assume TheDelegates are pointers, so const X *TheDelegate?