diff options
| author | Andrew Trick <atrick@apple.com> | 2010-11-10 19:18:47 +0000 |
|---|---|---|
| committer | Andrew Trick <atrick@apple.com> | 2010-11-10 19:18:47 +0000 |
| commit | 89eb6a8b94e054b5afaf87969fd24d9ceb7b92dc (patch) | |
| tree | cbb84d3c4c9602535bacf26ea9dbe6b75a9bb7b2 /llvm/lib/CodeGen/InlineSpiller.cpp | |
| parent | 5c2816d90339aa65da636dd538b95a9721d6b8c6 (diff) | |
| download | bcm5719-llvm-89eb6a8b94e054b5afaf87969fd24d9ceb7b92dc.tar.gz bcm5719-llvm-89eb6a8b94e054b5afaf87969fd24d9ceb7b92dc.zip | |
RABasic is nearly functionally complete. There are a few remaining
benchmarks hitting an assertion.
Adds LiveIntervalUnion::collectInterferingVRegs.
Fixes "late spilling" by checking for any unspillable live vregs among
all physReg aliases.
llvm-svn: 118701
Diffstat (limited to 'llvm/lib/CodeGen/InlineSpiller.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/InlineSpiller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/InlineSpiller.cpp b/llvm/lib/CodeGen/InlineSpiller.cpp index cbc6a536539..f19b1754f76 100644 --- a/llvm/lib/CodeGen/InlineSpiller.cpp +++ b/llvm/lib/CodeGen/InlineSpiller.cpp @@ -86,7 +86,7 @@ public: void spill(LiveInterval *li, SmallVectorImpl<LiveInterval*> &newIntervals, - SmallVectorImpl<LiveInterval*> &spillIs); + const SmallVectorImpl<LiveInterval*> &spillIs); void spill(LiveRangeEdit &); @@ -352,7 +352,7 @@ void InlineSpiller::insertSpill(LiveInterval &NewLI, void InlineSpiller::spill(LiveInterval *li, SmallVectorImpl<LiveInterval*> &newIntervals, - SmallVectorImpl<LiveInterval*> &spillIs) { + const SmallVectorImpl<LiveInterval*> &spillIs) { LiveRangeEdit edit(*li, newIntervals, spillIs); spill(edit); if (VerifySpills) |

