aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 09123fe1b1..3489db2e9f 100644
--- a/lib/CodeGen/Passes.cpp
+++ b/lib/CodeGen/Passes.cpp
@@ -61,7 +61,7 @@ FunctionPass *llvm::createRegisterAllocator(CodeGenOpt::Level OptLevel) {
// When the 'default' allocator is requested, pick one based on OptLevel.
switch (OptLevel) {
case CodeGenOpt::None:
- return createLocalRegisterAllocator();
+ return createFastRegisterAllocator();
default:
return createLinearScanRegisterAllocator();
}