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:
5aa3211
)
Update comment.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Sat, 30 Apr 2011 03:13:08 +0000
(
03:13
+0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Sat, 30 Apr 2011 03:13:08 +0000
(
03:13
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130582
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 914c78b0b145042881322fc697957f4ea3cc84f2..315aedddb9ef199e3951e49d83d2e906a423b626 100644
(file)
--- a/
lib/CodeGen/Passes.cpp
+++ b/
lib/CodeGen/Passes.cpp
@@
-55,8
+55,8
@@
FunctionPass *llvm::createRegisterAllocator(CodeGenOpt::Level OptLevel) {
RegisterRegAlloc::setDefault(RegAlloc);
}
- // This forces linking of the
greedy register allocator, so -regalloc=greedy
- // works in clang.
+ // This forces linking of the
linear scan register allocator,
+ //
so -regalloc=linearscan still
works in clang.
if (Ctor == createLinearScanRegisterAllocator)
return createLinearScanRegisterAllocator();