Simplify LiveInterval::print().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 5 Jun 2012 22:51:54 +0000 (22:51 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 5 Jun 2012 22:51:54 +0000 (22:51 +0000)
commitb77ec7d26405125fa5685370af5f17fcc9edbecd
treef22609d0c912c4629d98f79ef81f0a1e1c4a5174
parent34c6f9803499c11ed2dc8479ec768d47370a2d3a
Simplify LiveInterval::print().

Don't print out the register number and spill weight, making the TRI
argument unnecessary.

This allows callers to interpret the reg field. It can currently be a
virtual register, a physical register, a spill slot, or a register unit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158031 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveInterval.h
lib/CodeGen/LiveInterval.cpp
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/RegAllocBase.cpp
lib/CodeGen/RegisterCoalescer.cpp