aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/Passes.cpp
diff options
context:
space:
mode:
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 09123fe..3489db2 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();
}