[PATCH 1/3] Track new virtual registers by register number.

Mark Lacey mark.lacey at apple.com
Wed Aug 14 15:42:59 PDT 2013


Hi all -

This is the first of three patches that together make it possible for spill code to create and use more than one virtual register, e.g. in the case where a register class or type cannot be spilled/loaded with a single instruction.

Please review and let me know if you find any issues.

Mark



Track new virtual registers by register number, rather than by the live
interval created for them. This is the first step in separating the
creation of new virtual registers and new live intervals.  Eventually
live intervals will be created and populated on demand after the virtual
registers have been created and used in instructions.
---
include/llvm/CodeGen/LiveRangeEdit.h | 11 ++++---
lib/CodeGen/LiveDebugVariables.cpp   | 26 +++++++++-------
lib/CodeGen/LiveDebugVariables.h     |  4 ++-
lib/CodeGen/LiveRangeEdit.cpp        |  6 ++--
lib/CodeGen/RegAllocBase.cpp         |  4 +--
lib/CodeGen/RegAllocBase.h           |  2 +-
lib/CodeGen/RegAllocBasic.cpp        |  8 ++---
lib/CodeGen/RegAllocGreedy.cpp       | 58 ++++++++++++++++++------------------
lib/CodeGen/RegAllocPBQP.cpp         |  9 +++---
lib/CodeGen/RegisterCoalescer.cpp    |  2 +-
lib/CodeGen/SplitKit.cpp             | 27 +++++++++--------
11 files changed, 83 insertions(+), 74 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Track-new-virtual-registers-by-register-number.patch
Type: text/x-patch
Size: 29198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130814/f9c11bcd/attachment.bin>


More information about the llvm-commits mailing list