diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp index 98de0b4c79c..f5cd6066e41 100644 --- a/lib/CodeGen/Passes.cpp +++ b/lib/CodeGen/Passes.cpp @@ -31,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() {