aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/PostRASchedulerList.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-12-03 19:38:38 +0000
committerDan Gohman <gohman@apple.com>2008-12-03 19:38:38 +0000
commit98fbc36e6c77fead86a172b48fc149568b11f80c (patch)
tree52e11d7702fc51897aad903d206ceb53afc6ae00 /lib/CodeGen/PostRASchedulerList.cpp
parentb76ecc8322aaa2ea17d30cedd8cc023fb7d4147c (diff)
downloadexternal_llvm-98fbc36e6c77fead86a172b48fc149568b11f80c.tar.gz
external_llvm-98fbc36e6c77fead86a172b48fc149568b11f80c.tar.bz2
external_llvm-98fbc36e6c77fead86a172b48fc149568b11f80c.zip
Fix an inconsistency in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PostRASchedulerList.cpp')
-rw-r--r--lib/CodeGen/PostRASchedulerList.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/CodeGen/PostRASchedulerList.cpp b/lib/CodeGen/PostRASchedulerList.cpp
index f3aef575f0..870795de44 100644
--- a/lib/CodeGen/PostRASchedulerList.cpp
+++ b/lib/CodeGen/PostRASchedulerList.cpp
@@ -223,10 +223,9 @@ bool SchedulePostRATDList::BreakAntiDependencies() {
}
// For live regs that are only used in one register class in a live range,
- // the register class. If the register is not live or is referenced in
- // multiple register classes, the corresponding value is null. If the
- // register is used in multiple register classes, the corresponding value
- // is -1 casted to a pointer.
+ // the register class. If the register is not live, the corresponding value
+ // is null. If the register is live but used in multiple register classes,
+ // the corresponding value is -1 casted to a pointer.
const TargetRegisterClass *
Classes[TargetRegisterInfo::FirstVirtualRegister] = {};