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

Mark Lacey mark.lacey at apple.com
Wed Aug 14 16:26:37 PDT 2013


On Aug 14, 2013, at 4:25 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:

> 
> 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.

Thanks Jakob!

> 
> Could you break the MachineInstrSpan class into its own commit?

Will do.

> 
> Thanks,
> /jakob
> 





More information about the llvm-commits mailing list