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