summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopUnroll.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-03-08 16:26:39 +0000
committerSanjay Patel <spatel@rotateright.com>2016-03-08 16:26:39 +0000
commit5b8d741632877b92a5dc5b8668b7be8053449b8a (patch)
treed063c2cca2dc613cf9cfd66023720995e915b1fc /llvm/lib/Transforms/Utils/LoopUnroll.cpp
parent5ddea6a8e9fc95c2c73aefe78f8ac72921aec2a9 (diff)
downloadbcm5719-llvm-5b8d741632877b92a5dc5b8668b7be8053449b8a.tar.gz
bcm5719-llvm-5b8d741632877b92a5dc5b8668b7be8053449b8a.zip
don't repeat function names in documentation comments; NFC
llvm-svn: 262937
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LoopUnroll.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUnroll.cpp b/llvm/lib/Transforms/Utils/LoopUnroll.cpp
index 48041f043a6..1ac254ab2fc 100644
--- a/llvm/lib/Transforms/Utils/LoopUnroll.cpp
+++ b/llvm/lib/Transforms/Utils/LoopUnroll.cpp
@@ -44,8 +44,8 @@ using namespace llvm;
STATISTIC(NumCompletelyUnrolled, "Number of loops completely unrolled");
STATISTIC(NumUnrolled, "Number of loops unrolled (completely or otherwise)");
-/// RemapInstruction - Convert the instruction operands from referencing the
-/// current values into those specified by VMap.
+/// Convert the instruction operands from referencing the current values into
+/// those specified by VMap.
static inline void RemapInstruction(Instruction *I,
ValueToValueMapTy &VMap) {
for (unsigned op = 0, E = I->getNumOperands(); op != E; ++op) {
@@ -64,8 +64,8 @@ static inline void RemapInstruction(Instruction *I,
}
}
-/// FoldBlockIntoPredecessor - Folds a basic block into its predecessor if it
-/// only has one predecessor, and that predecessor only has one successor.
+/// Folds a basic block into its predecessor if it only has one predecessor, and
+/// that predecessor only has one successor.
/// The LoopInfo Analysis that is passed will be kept consistent. If folding is
/// successful references to the containing loop must be removed from
/// ScalarEvolution by calling ScalarEvolution::forgetLoop because SE may have
OpenPOWER on IntegriCloud