summaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenRegisters.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-04-10 02:25:18 +0000
committerAndrew Trick <atrick@apple.com>2012-04-10 02:25:18 +0000
commitaec111a06b595742683b529a7f4391becd7e24ec (patch)
treec619a1aa58a9b3cd2838cd9394bcad483e28fc10 /utils/TableGen/CodeGenRegisters.h
parent3fd9b8422328a60664a5c631ec9519b58017fcbc (diff)
downloadllvm-aec111a06b595742683b529a7f4391becd7e24ec.tar.gz
llvm-aec111a06b595742683b529a7f4391becd7e24ec.tar.bz2
llvm-aec111a06b595742683b529a7f4391becd7e24ec.tar.xz
Fix header comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154372 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenRegisters.h')
-rw-r--r--utils/TableGen/CodeGenRegisters.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/CodeGenRegisters.h b/utils/TableGen/CodeGenRegisters.h
index f73519ebbf..0d26bc493e 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<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;