aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/Passes.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-22 18:42:00 +0000
committerChris Lattner <sabre@nondot.org>2004-07-22 18:42:00 +0000
commit0bafa9818baafc969359a668245cff7d95268931 (patch)
treeb6717e58eb4a07ba52ab813f2f7c3895588a87a4 /lib/CodeGen/Passes.cpp
parent2ed17cadb4fb2f7867494702ca58813254fff853 (diff)
Make linear scan the default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15111 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Passes.cpp')
-rw-r--r--lib/CodeGen/Passes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp
index 98de0b4c79..f5cd6066e4 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() {