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

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Aug 6 13:51:40 PDT 2012


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/829107e2/attachment.html>


More information about the llvm-commits mailing list