diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-09 00:14:47 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-09 00:14:47 +0000 |
commit | fe17bdbb50efe2f7f68d0b99e55ae52bd9477978 (patch) | |
tree | 4cb8c22d63a8c26a1547412d604f01c7b48d58f7 /lib/CodeGen/RegAllocGreedy.cpp | |
parent | 77592fe39c404f3c48b06fae48b965058b3a5ee8 (diff) |
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
Diffstat (limited to 'lib/CodeGen/RegAllocGreedy.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocGreedy.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp index 0d54c8e408..46a8247701 100644 --- a/lib/CodeGen/RegAllocGreedy.cpp +++ b/lib/CodeGen/RegAllocGreedy.cpp @@ -1753,7 +1753,6 @@ bool RAGreedy::runOnMachineFunction(MachineFunction &mf) { GlobalCand.resize(32); // This will grow as needed. allocatePhysRegs(); - addMBBLiveIns(MF); releaseMemory(); return true; } |