summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegisterCoalescer.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-10-04 16:53:02 +0000
committerMatthias Braun <matze@braunis.de>2013-10-04 16:53:02 +0000
commitcaff7647390f554ba9e730c215323db5cd705a44 (patch)
tree0eed2ec1dcd8c0525f7c5241d0cc4426fce11497 /llvm/lib/CodeGen/RegisterCoalescer.cpp
parent6a57acf44aaa8b37ec86a9da07eb73242fa9b75f (diff)
downloadbcm5719-llvm-caff7647390f554ba9e730c215323db5cd705a44.tar.gz
bcm5719-llvm-caff7647390f554ba9e730c215323db5cd705a44.zip
Fix comment
llvm-svn: 191966
Diffstat (limited to 'llvm/lib/CodeGen/RegisterCoalescer.cpp')
-rw-r--r--llvm/lib/CodeGen/RegisterCoalescer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp
index 791f1baf63d..4c992617d4e 100644
--- a/llvm/lib/CodeGen/RegisterCoalescer.cpp
+++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp
@@ -434,7 +434,7 @@ bool RegisterCoalescer::adjustCopiesBackFrom(const CoalescerPair &CP,
LIS->getInterval(CP.isFlipped() ? CP.getSrcReg() : CP.getDstReg());
SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getRegSlot();
- // BValNo is a value number in B that is defined by a copy from A. 'B3' in
+ // BValNo is a value number in B that is defined by a copy from A. 'B1' in
// the example above.
LiveInterval::iterator BLR = IntB.FindLiveRangeContaining(CopyIdx);
if (BLR == IntB.end()) return false;
OpenPOWER on IntegriCloud