Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 1e06f6c

Browse files
author
Chad Rosier
committed
[LoopInterchange] Typo. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281501 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 1e694f0 commit 1e06f6c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/Transforms/Scalar/LoopInterchange.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -948,9 +948,9 @@ int LoopInterchangeProfitability::getInstrOrderCost() {
948948
return GoodOrder - BadOrder;
949949
}
950950

951-
static bool isProfitabileForVectorization(unsigned InnerLoopId,
952-
unsigned OuterLoopId,
953-
CharMatrix &DepMatrix) {
951+
static bool isProfitableForVectorization(unsigned InnerLoopId,
952+
unsigned OuterLoopId,
953+
CharMatrix &DepMatrix) {
954954
// TODO: Improve this heuristic to catch more cases.
955955
// If the inner loop is loop independent or doesn't carry any dependency it is
956956
// profitable to move this to outer position.
@@ -987,7 +987,7 @@ bool LoopInterchangeProfitability::isProfitable(unsigned InnerLoopId,
987987
// It is not profitable as per current cache profitability model. But check if
988988
// we can move this loop outside to improve parallelism.
989989
bool ImprovesPar =
990-
isProfitabileForVectorization(InnerLoopId, OuterLoopId, DepMatrix);
990+
isProfitableForVectorization(InnerLoopId, OuterLoopId, DepMatrix);
991991
return ImprovesPar;
992992
}
993993

0 commit comments

Comments
 (0)