mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-04 16:54:12 +00:00
Update comment.
llvm-svn: 130582
This commit is contained in:
parent
a397ddfd59
commit
720ec44d13
@ -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…
x
Reference in New Issue
Block a user