summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2013-03-25 20:11:16 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2013-03-25 20:11:16 +0000
commit1ff803f47b778098256a235796c2514ca4b9c7c6 (patch)
tree059cca7f306d9ce4f326836c3e83aed07dd79b96 /llvm/lib
parent7f44037c2ec9604f36e96b704898787f5bb89ad9 (diff)
downloadbcm5719-llvm-1ff803f47b778098256a235796c2514ca4b9c7c6.tar.gz
bcm5719-llvm-1ff803f47b778098256a235796c2514ca4b9c7c6.zip
Fix comment.
llvm-svn: 177899
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp b/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
index e2655901417..d07a595af38 100644
--- a/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
+++ b/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
@@ -220,9 +220,9 @@ namespace {
/// that can be moved to the delay slot. Returns true on success.
bool searchForward(MachineBasicBlock &MBB, Iter Slot) const;
- /// This function searches MBB's successor blocks for an instruction that
- /// can be moved to the delay slot and inserts clones of the instruction
- /// into the successor blocks.
+ /// This function searches one of MBB's successor blocks for an instruction
+ /// that can be moved to the delay slot and inserts clones of the
+ /// instruction into the successor's predecessor blocks.
bool searchSuccBBs(MachineBasicBlock &MBB, Iter Slot) const;
/// Pick a successor block of MBB. Return NULL if MBB doesn't have a
OpenPOWER on IntegriCloud