[llvm-commits] [llvm] r130582 - /llvm/trunk/lib/CodeGen/Passes.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Apr 29 20:13:08 PDT 2011


Author: stoklund
Date: Fri Apr 29 22:13:08 2011
New Revision: 130582

URL: http://llvm.org/viewvc/llvm-project?rev=130582&view=rev
Log:
Update comment.

Modified:
    llvm/trunk/lib/CodeGen/Passes.cpp

Modified: llvm/trunk/lib/CodeGen/Passes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/Passes.cpp?rev=130582&r1=130581&r2=130582&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/Passes.cpp (original)
+++ llvm/trunk/lib/CodeGen/Passes.cpp Fri Apr 29 22:13:08 2011
@@ -55,8 +55,8 @@
     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();
 





More information about the llvm-commits mailing list