diff options
author | Andrew Trick <atrick@apple.com> | 2012-05-17 18:35:07 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-05-17 18:35:07 +0000 |
commit | 0556bd35e564c89149aa02ea8d76f539c87ee875 (patch) | |
tree | 94e1be4171315d3307e9bbb96de7e48c49822f0e /lib/CodeGen/RegisterPressure.cpp | |
parent | b54ec26b355157c76b29b12388d49816eaf57da1 (diff) | |
download | llvm-0556bd35e564c89149aa02ea8d76f539c87ee875.tar.gz llvm-0556bd35e564c89149aa02ea8d76f539c87ee875.tar.bz2 llvm-0556bd35e564c89149aa02ea8d76f539c87ee875.tar.xz |
comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegisterPressure.cpp')
-rw-r--r-- | lib/CodeGen/RegisterPressure.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegisterPressure.cpp b/lib/CodeGen/RegisterPressure.cpp index fbd08cb575..912ed0dd7b 100644 --- a/lib/CodeGen/RegisterPressure.cpp +++ b/lib/CodeGen/RegisterPressure.cpp @@ -698,7 +698,7 @@ getMaxDownwardPressureDelta(const MachineInstr *MI, RegPressureDelta &Delta) { unsigned Reg = VirtRegOpers.Uses[i]; const LiveInterval *LI = &LIS->getInterval(Reg); // FIXME: allow the caller to pass in the list of vreg uses that remain to - // be top-scheduled to avoid searching uses at each query. + // be bottom-scheduled to avoid searching uses at each query. SlotIndex CurrIdx = LIS->getInstructionIndex(CurrPos).getRegSlot(); if (LI->killedAt(SlotIdx) && !findUseBetween(Reg, CurrIdx, SlotIdx, MRI, LIS)) { |