In the joiner, merge the small interval into the large interval. This restores
[oota-llvm.git] / lib / CodeGen / Passes.cpp
index 133cf3e1a8a13ff25db1d44966973160f88bad88..7233e81473b6e033d572ce3adf7180aa18aa37de 100644 (file)
@@ -20,9 +20,10 @@ using namespace llvm;
 namespace {
   enum RegAllocName { simple, local, linearscan, iterativescan };
 
-  cl::opt<RegAllocName RegAlloc(
+  cl::opt<RegAllocName>
+  RegAlloc(
     "regalloc",
-    cl::desc("Register allocator to use: (default = simple)"),
+    cl::desc("Register allocator to use: (default = linearscan)"),
     cl::Prefix,
     cl::values(
        clEnumVal(simple,        "  simple register allocator"),
@@ -30,7 +31,7 @@ namespace {
        clEnumVal(linearscan,    "  linear scan register allocator"),
        clEnumVal(iterativescan, "  iterative scan register allocator"),
        clEnumValEnd),
-    cl::init(local));
+    cl::init(linearscan));
 }
 
 FunctionPass *llvm::createRegisterAllocator() {