Remove LIS::isAllocatable() and isReserved() helpers.
[oota-llvm.git] / lib / CodeGen / RegAllocPBQP.cpp
index 2722490477395ec492fb8183b04d365819b73048..9320993d90a1a96bbc7b0b38c89644b1ae284db9 100644 (file)
@@ -355,7 +355,7 @@ std::auto_ptr<PBQPRAProblem> PBQPBuilderWithCoalescing::build(
                                                    loopInfo->getLoopDepth(mbb));
 
       if (cp.isPhys()) {
-        if (!lis->isAllocatable(dst)) {
+        if (!mf->getRegInfo().isAllocatable(dst)) {
           continue;
         }