Added a new Spiller implementation which wraps LiveIntervals::addIntervalsForSpills.
authorLang Hames <lhames@gmail.com>
Thu, 19 Nov 2009 04:15:33 +0000 (04:15 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 19 Nov 2009 04:15:33 +0000 (04:15 +0000)
commit835ca07991c1b8ec47240b15417e1b2732480094
tree798d9727b01e463498f682b5987b1aee13f3fea9
parent2b5e6b1c9c9c3c3f0d07098020f9eb4527515374
Added a new Spiller implementation which wraps LiveIntervals::addIntervalsForSpills.
All spiller calls in RegAllocLinearScan now go through the new Spiller interface.
The "-new-spill-framework" command line option has been removed. To use the trivial in-place spiller you should now pass "-spiller=trivial -rewriter=trivial".
(Note the trivial spiller/rewriter are only meant to serve as examples of the new in-place modification work. Enabling them will yield terrible, though hopefully functional, code).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89311 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocLinearScan.cpp
lib/CodeGen/Spiller.cpp
lib/CodeGen/Spiller.h