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