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

Evan Cheng evan.cheng at apple.com
Wed Aug 14 23:11:53 PDT 2013


This is great! Thanks. 

Evan

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

> 
> 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
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list