projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ead06be
)
Use the fast register allocator by default for -O0 builds.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 3 Jun 2010 00:39:06 +0000
(
00:39
+0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 3 Jun 2010 00:39:06 +0000
(
00:39
+0000)
This affects both llvm-gcc and clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105372
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/Passes.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/Passes.cpp
b/lib/CodeGen/Passes.cpp
index 09123fe1b1e7feababf14a944f42bbc45afa212b..3489db2e9f4f966a401ff9c7ac1ccbf1e58b2f62 100644
(file)
--- 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 create
Local
RegisterAllocator();
+ return create
Fast
RegisterAllocator();
default:
return createLinearScanRegisterAllocator();
}