Alkis agrees that that iterative scan allocator isn't going to be worked on
in the future, remove it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23952 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp
index 525bd3a..a6ba120 100644
--- a/lib/CodeGen/Passes.cpp
+++ b/lib/CodeGen/Passes.cpp
@@ -18,7 +18,7 @@
using namespace llvm;
namespace {
- enum RegAllocName { simple, local, linearscan, iterativescan };
+ enum RegAllocName { simple, local, linearscan };
cl::opt<RegAllocName>
RegAlloc(
@@ -29,7 +29,6 @@
clEnumVal(simple, " simple register allocator"),
clEnumVal(local, " local register allocator"),
clEnumVal(linearscan, " linear scan register allocator"),
- clEnumVal(iterativescan, " iterative scan register allocator"),
clEnumValEnd),
cl::init(linearscan));
}
@@ -45,8 +44,6 @@
return createLocalRegisterAllocator();
case linearscan:
return createLinearScanRegisterAllocator();
- case iterativescan:
- return createIterativeScanRegisterAllocator();
}
}