[PATCH 3/3] Auto-compute live intervals on demand.

Jakob Stoklund Olesen stoklund at 2pi.dk
Wed Aug 14 16:25:12 PDT 2013


On Aug 14, 2013, at 3:44 PM, Mark Lacey <mark.lacey at apple.com> wrote:

> 
> When new virtual registers are created during splitting/spilling, defer
> creation of the live interval until we need to use the live interval.
> 
> Along with the recent commits to notify LiveRangeEdit when new virtual
> registers are created, this makes it possible for functions like
> TargetInstrInfo::loadRegFromStackSlot() and
> TargetInstrInfo::storeRegToStackSlot() to create multiple virtual
> registers as part of the process of generating loads/stores for
> different register classes, and then have the live intervals for those
> new registers computed when they are needed.

This is awesome, I’ve been wanting this feature for a while. LGTM.

Could you break the MachineInstrSpan class into its own commit?

Thanks,
/jakob





More information about the llvm-commits mailing list