summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2016-09-14 17:12:30 +0000
committerChad Rosier <mcrosier@codeaurora.org>2016-09-14 17:12:30 +0000
commite6b3a63a3dc041e3b825033f880ea9af6be0450d (patch)
tree0aa11629c8682c9b662a58e1ce1b14958ce79154 /llvm/lib
parent72431890b19fb0a9ed8c1e46b01862ca6f1ee2c2 (diff)
downloadbcm5719-llvm-e6b3a63a3dc041e3b825033f880ea9af6be0450d.tar.gz
bcm5719-llvm-e6b3a63a3dc041e3b825033f880ea9af6be0450d.zip
[LoopInterchange] Typo. NFC.
llvm-svn: 281501
Diffstat (limited to 'llvm/lib')
-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 1e091bacd40..a4d985a6451 100644
--- a/llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopInterchange.cpp
@@ -948,9 +948,9 @@ int LoopInterchangeProfitability::getInstrOrderCost() {
return GoodOrder - BadOrder;
}
-static bool isProfitabileForVectorization(unsigned InnerLoopId,
- unsigned OuterLoopId,
- CharMatrix &DepMatrix) {
+static bool isProfitableForVectorization(unsigned InnerLoopId,
+ unsigned OuterLoopId,
+ CharMatrix &DepMatrix) {
// TODO: Improve this heuristic to catch more cases.
// If the inner loop is loop independent or doesn't carry any dependency it is
// profitable to move this to outer position.
@@ -987,7 +987,7 @@ bool LoopInterchangeProfitability::isProfitable(unsigned InnerLoopId,
// It is not profitable as per current cache profitability model. But check if
// we can move this loop outside to improve parallelism.
bool ImprovesPar =
- isProfitabileForVectorization(InnerLoopId, OuterLoopId, DepMatrix);
+ isProfitableForVectorization(InnerLoopId, OuterLoopId, DepMatrix);
return ImprovesPar;
}
OpenPOWER on IntegriCloud