diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-04-30 03:13:08 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-04-30 03:13:08 +0000 |
commit | 141f529bafb5f464ee5db7031d29c9b0b33085bc (patch) | |
tree | dea714baac63fa5aede278aad9b0d5db89f015fb /lib/CodeGen/Passes.cpp | |
parent | 5aa3211e2d9c618f1f2ae590792067dbcb572741 (diff) | |
download | llvm-141f529bafb5f464ee5db7031d29c9b0b33085bc.tar.gz llvm-141f529bafb5f464ee5db7031d29c9b0b33085bc.tar.bz2 llvm-141f529bafb5f464ee5db7031d29c9b0b33085bc.tar.xz |
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130582 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Passes.cpp')
-rw-r--r-- | lib/CodeGen/Passes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp index 914c78b0b1..315aedddb9 100644 --- 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(); |