[llvm-commits] [llvm] r161258 - in /llvm/trunk: include/llvm/CodeGen/LiveInterval.h lib/CodeGen/LiveInterval.cpp lib/CodeGen/LiveIntervalAnalysis.cpp

Lang Hames lhames at gmail.com
Mon Aug 6 14:12:35 PDT 2012


Excellent. It'd be great to see all those VNInfo::Allocator parameters in
the LiveInterval API go away.

- Lang.

On Mon, Aug 6, 2012 at 1:51 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:

>
> On Aug 6, 2012, at 1:20 PM, Lang Hames <lhames at gmail.com> wrote:
>
> Completely eliminate VNInfo flags.
>>
>
> I think we can soon eliminate the VNInfo class entirely, and just put a
> SlotIndex array in LiveInterval:
>
> class LiveInterval {
>   struct Segment {
>     SlotIndex start;
>     SlotIndex end;
>     unsigned valno;
>   };
>   SmallVector<Segment, 4> Ranges;
>   SmallVector<SlotIndex, 4> Defs;
> }
>
> This would save all the memory previously used by the VNInfo allocator.
>
> /jakob
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120806/7642a964/attachment.html>


More information about the llvm-commits mailing list