Update comment.

llvm-svn: 130582
This commit is contained in:
Jakob Stoklund Olesen 2011-04-30 03:13:08 +00:00
parent e8fdcac02c
commit d50e5eb8c3
1 changed files with 2 additions and 2 deletions

View File

@ -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();