Also compute MBB live-in lists in the new rewriter pass.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 9 Jun 2012 00:14:47 +0000 (00:14 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 9 Jun 2012 00:14:47 +0000 (00:14 +0000)
commitfe17bdbb50efe2f7f68d0b99e55ae52bd9477978
tree4cb8c22d63a8c26a1547412d604f01c7b48d58f7
parent77592fe39c404f3c48b06fae48b965058b3a5ee8
Also compute MBB live-in lists in the new rewriter pass.

This deduplicates some code from the optimizing register allocators, and
it means that it is now possible to change the register allocators'
solutions simply by editing the VirtRegMap between the register
allocator pass and the rewriter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158249 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocBase.cpp
lib/CodeGen/RegAllocBase.h
lib/CodeGen/RegAllocBasic.cpp
lib/CodeGen/RegAllocGreedy.cpp
lib/CodeGen/RegAllocPBQP.cpp
lib/CodeGen/VirtRegMap.cpp