From aec111a06b595742683b529a7f4391becd7e24ec Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Tue, 10 Apr 2012 02:25:18 +0000 Subject: [PATCH] Fix header comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154372 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/CodeGenRegisters.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/TableGen/CodeGenRegisters.h b/utils/TableGen/CodeGenRegisters.h index f73519ebbf7..0d26bc493e4 100644 --- a/utils/TableGen/CodeGenRegisters.h +++ b/utils/TableGen/CodeGenRegisters.h @@ -116,8 +116,8 @@ namespace llvm { // List of super-registers in topological order, small to large. typedef std::vector 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; -- 2.34.1