mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 14:10:41 +00:00
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5aa3211e2d
commit
141f529baf
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user