diff options
| author | Lang Hames <lhames@gmail.com> | 2010-02-17 03:42:51 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2010-02-17 03:42:51 +0000 |
| commit | 5734217c8493dd4f034482a0df2ad48826408032 (patch) | |
| tree | 34e067459290b4dce11d3932625096075bb811d1 | |
| parent | db042200c04f7c4da0d3006390a5e1e8b1138c7e (diff) | |
| download | bcm5719-llvm-5734217c8493dd4f034482a0df2ad48826408032.tar.gz bcm5719-llvm-5734217c8493dd4f034482a0df2ad48826408032.zip | |
Removed an early out which was causing the PBQP allocator to not compute live-in sets or run the rewriter.
llvm-svn: 96450
| -rw-r--r-- | llvm/lib/CodeGen/RegAllocPBQP.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/RegAllocPBQP.cpp b/llvm/lib/CodeGen/RegAllocPBQP.cpp index 2701fafbf9b..d09e1bc4850 100644 --- a/llvm/lib/CodeGen/RegAllocPBQP.cpp +++ b/llvm/lib/CodeGen/RegAllocPBQP.cpp @@ -867,10 +867,6 @@ bool PBQPRegAlloc::runOnMachineFunction(MachineFunction &MF) { // Find the vreg intervals in need of allocation. findVRegIntervalsToAlloc(); - // If there aren't any then we're done here. - if (vregIntervalsToAlloc.empty() && emptyVRegIntervals.empty()) - return true; - // If there are non-empty intervals allocate them using pbqp. if (!vregIntervalsToAlloc.empty()) { |

