Fix VirtRegMap to use TRI::index2VirtReg and TRI::virtReg2Index instead of
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 8 Jan 2011 23:11:07 +0000 (23:11 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 8 Jan 2011 23:11:07 +0000 (23:11 +0000)
commitc7d67f90d36375f1ff512a3857c887b7e4246adb
tree1564371f662146b927ddf9d364eb0c1ca9f1fe52
parent98c54760704878cf5290a9a3b23876b7550c5560
Fix VirtRegMap to use TRI::index2VirtReg and TRI::virtReg2Index instead of
depending on TRI::FirstVirtualRegister.

Also use TRI::printReg instead of printing virtual registers directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123101 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetRegisterInfo.h
lib/CodeGen/VirtRegMap.cpp
lib/CodeGen/VirtRegMap.h