Update comment.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 30 Apr 2011 03:13:08 +0000 (03:13 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 30 Apr 2011 03:13:08 +0000 (03:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130582 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/Passes.cpp

index 914c78b0b145042881322fc697957f4ea3cc84f2..315aedddb9ef199e3951e49d83d2e906a423b626 100644 (file)
@@ -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();