[PATCH 5/5] Represent RegUnit liveness with LiveRanges instances

Matthias Braun matze at braunis.de
Thu Aug 29 18:07:13 PDT 2013


Previously LiveInterval has been used, but having a spill weight and
register number is unnecessary for a register unit.
---
 include/llvm/CodeGen/LiveIntervalAnalysis.h |  28 +++---
 include/llvm/CodeGen/RegisterPressure.h     |   4 +-
 lib/CodeGen/InlineSpiller.cpp               |   6 +-
 lib/CodeGen/InterferenceCache.cpp           |   8 +-
 lib/CodeGen/InterferenceCache.h             |   2 +-
 lib/CodeGen/LiveDebugVariables.cpp          |  18 ++--
 lib/CodeGen/LiveIntervalAnalysis.cpp        | 133 ++++++++++++++--------------
 lib/CodeGen/LiveRangeEdit.cpp               |   6 +-
 lib/CodeGen/LiveRegMatrix.cpp               |   6 +-
 lib/CodeGen/MachineVerifier.cpp             |  12 +--
 lib/CodeGen/RegAllocGreedy.cpp              |   6 +-
 lib/CodeGen/RegisterCoalescer.cpp           |   4 +-
 lib/CodeGen/RegisterPressure.cpp            |  14 +--
 13 files changed, 125 insertions(+), 122 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Represent-RegUnit-liveness-with-LiveRanges-instances.patch
Type: text/x-patch
Size: 28601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130829/0925d406/attachment.bin>


More information about the llvm-commits mailing list