[llvm-commits] [llvm] r154372 - /llvm/trunk/utils/TableGen/CodeGenRegisters.h

Andrew Trick atrick at apple.com
Mon Apr 9 19:25:19 PDT 2012


Author: atrick
Date: Mon Apr  9 21:25:18 2012
New Revision: 154372

URL: http://llvm.org/viewvc/llvm-project?rev=154372&view=rev
Log:
Fix header comment

Modified:
    llvm/trunk/utils/TableGen/CodeGenRegisters.h

Modified: llvm/trunk/utils/TableGen/CodeGenRegisters.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenRegisters.h?rev=154372&r1=154371&r2=154372&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenRegisters.h (original)
+++ llvm/trunk/utils/TableGen/CodeGenRegisters.h Mon Apr  9 21:25:18 2012
@@ -116,8 +116,8 @@
     // List of super-registers in topological order, small to large.
     typedef std::vector<const CodeGenRegister*> SuperRegList;
 
-    // Get the list of super-registers.
-    // This is only valid after computeDerivedInfo has visited all registers.
+    // Get the list of super-registers. This is valid after getSubReg
+    // visits all registers during RegBank construction.
     const SuperRegList &getSuperRegs() const {
       assert(SubRegsComplete && "Must precompute sub-registers");
       return SuperRegs;





More information about the llvm-commits mailing list