diff options
author | Lang Hames <lhames@gmail.com> | 2012-02-28 22:07:24 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2012-02-28 22:07:24 +0000 |
commit | 2fbad222e1a89a28d5bb7a034218b0bed86a070f (patch) | |
tree | 4e74951c17aa40c2a38f34d1713e147d01a615f0 /llvm/lib/CodeGen/RegAllocBasic.cpp | |
parent | 16f383106445a7b7b92ee6871b16d3b2a26264b6 (diff) | |
download | bcm5719-llvm-2fbad222e1a89a28d5bb7a034218b0bed86a070f.tar.gz bcm5719-llvm-2fbad222e1a89a28d5bb7a034218b0bed86a070f.zip |
Kill off LiveRangeEdit::getNewVRegs and LiveRangeEdit::getUselessVRegs. These
methods are no longer needed now that LinearScan has gone away.
(Contains tweaks trivialSpillEverywhere to enable the removal of getNewVRegs).
llvm-svn: 151658
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocBasic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBasic.cpp b/llvm/lib/CodeGen/RegAllocBasic.cpp index d1b289b3634..2e79c790f2d 100644 --- a/llvm/lib/CodeGen/RegAllocBasic.cpp +++ b/llvm/lib/CodeGen/RegAllocBasic.cpp @@ -187,7 +187,7 @@ void RABasic::spillReg(LiveInterval& VirtReg, unsigned PhysReg, unassign(SpilledVReg, PhysReg); // Spill the extracted interval. - LiveRangeEdit LRE(SpilledVReg, SplitVRegs, 0, &PendingSpills); + LiveRangeEdit LRE(SpilledVReg, SplitVRegs); spiller().spill(LRE); } // After extracting segments, the query's results are invalid. But keep the |