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

Jakob Stoklund Olesen stoklund at 2pi.dk
Sat Feb 16 20:12:05 PST 2013


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

/jakob





More information about the llvm-commits mailing list