commit | 790047620a8f31cee1841c06c9e5e7688166ad93 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Mon Oct 15 22:14:34 2012 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Mon Oct 15 22:14:34 2012 +0000 |
tree | 33ca0340b0d86f75679a10b699d4a71d867561de | |
parent | 3a1c35afbd02b012690c35ec827424c27792ec3f [diff] [blame] |
Remove LIS::isAllocatable() and isReserved() helpers. All callers can simply use the corresponding MRI functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165985 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp index 2722490..9320993 100644 --- a/lib/CodeGen/RegAllocPBQP.cpp +++ b/lib/CodeGen/RegAllocPBQP.cpp
@@ -355,7 +355,7 @@ loopInfo->getLoopDepth(mbb)); if (cp.isPhys()) { - if (!lis->isAllocatable(dst)) { + if (!mf->getRegInfo().isAllocatable(dst)) { continue; }