From 720ec44d1365e3f613469a93eae7ca39f196368c Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Sat, 30 Apr 2011 03:13:08 +0000 Subject: [PATCH] Update comment. llvm-svn: 130582 --- lib/CodeGen/Passes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp index 914c78b0b14..315aedddb9e 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();