summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorVikram TV <vikram.tarikere@gmail.com>2015-12-09 05:16:24 +0000
committerVikram TV <vikram.tarikere@gmail.com>2015-12-09 05:16:24 +0000
commit74b41114833a6c4b65570e96d96e06580cb12145 (patch)
tree0270b8072056c0dd46fceb8aa29174248fd262e0 /llvm/lib/Transforms
parent2d5c6ddf74296d38d0f194420be159687568026e (diff)
downloadbcm5719-llvm-74b41114833a6c4b65570e96d96e06580cb12145.tar.gz
bcm5719-llvm-74b41114833a6c4b65570e96d96e06580cb12145.zip
Test commit access - Fix few missing '.' in comments of LoopInterchange code.
llvm-svn: 255095
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopInterchange.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopInterchange.cpp b/llvm/lib/Transforms/Scalar/LoopInterchange.cpp
index 8233bdcb680..6026a907ff8 100644
--- a/llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopInterchange.cpp
@@ -176,7 +176,7 @@ static bool populateDependencyMatrix(CharMatrix &DepMatrix, unsigned Level,
}
}
- // We don't have a DepMatrix to check legality return false
+ // We don't have a DepMatrix to check legality return false.
if (DepMatrix.size() == 0)
return false;
return true;
@@ -371,7 +371,7 @@ public:
LoopInterchangeProfitability(Loop *Outer, Loop *Inner, ScalarEvolution *SE)
: OuterLoop(Outer), InnerLoop(Inner), SE(SE) {}
- /// Check if the loop interchange is profitable
+ /// Check if the loop interchange is profitable.
bool isProfitable(unsigned InnerLoopId, unsigned OuterLoopId,
CharMatrix &DepMatrix);
@@ -385,7 +385,7 @@ private:
ScalarEvolution *SE;
};
-/// LoopInterchangeTransform interchanges the loop
+/// LoopInterchangeTransform interchanges the loop.
class LoopInterchangeTransform {
public:
LoopInterchangeTransform(Loop *Outer, Loop *Inner, ScalarEvolution *SE,
@@ -424,7 +424,7 @@ private:
bool InnerLoopHasReduction;
};
-// Main LoopInterchange Pass
+// Main LoopInterchange Pass.
struct LoopInterchange : public FunctionPass {
static char ID;
ScalarEvolution *SE;
OpenPOWER on IntegriCloud