[llvm] r175382 - Add support for updating the LiveIntervals of registers used by 'exotic'

Cameron Zwarich zwarich at apple.com
Sat Feb 16 20:25:14 PST 2013


On Feb 16, 2013, at 8:12 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:

> On Feb 16, 2013, at 7:55 PM, Cameron Zwarich <zwarich at apple.com> wrote:
> 
>> I thought that it would be easier to know the exact boundaries of the range of instructions that were modified, so that for every register originally used in the range you could easily get the LiveRange that was originally live-in. I was using the reg slot of A in (A, B], but I could just use the block slot of A in [A, B) instead.
> 
> Maybe you should just use LI.extendInBlock() instead? Look at LiveRangeCalc::extendToUses().

The original removed use may have a later slot index than the new one, so this doesn't quite work.

I'll have to come up with something more clever to deal with the repeated defs of reg subsequence lowering anyways, so I'll figure it out.

Cameron



More information about the llvm-commits mailing list