[PATCH] Speed up creation of live ranges for physical registers by using a segment set

Vaidas Gasiunas vaidas.gasiunas at sap.com
Tue Nov 25 02:28:47 PST 2014


- Implementations of createDeadDef, extendInBlock, addSegment are templatized to make them reusable for the segment set and the segment vector.
- The segment set is now created in LiveRange constructor, and flushSegmentSet is called in computeRegUnitRange
- Comments regarding coding style are addressed

http://reviews.llvm.org/D6013

Files:
  include/llvm/CodeGen/LiveInterval.h
  include/llvm/CodeGen/LiveIntervalAnalysis.h
  lib/CodeGen/LiveInterval.cpp
  lib/CodeGen/LiveIntervalAnalysis.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6013.16601.patch
Type: text/x-patch
Size: 21363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141125/1812a65f/attachment.bin>


More information about the llvm-commits mailing list