aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/LoopInterchange.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2016-09-13 13:00:29 +0000
committerChad Rosier <mcrosier@codeaurora.org>2016-09-13 13:00:29 +0000
commitd18ea0654b76aff3f8b4db9ede9e7d9b5771a874 (patch)
tree7825321438728ddde1300ca972803e8d2f35bc56 /llvm/lib/Transforms/Scalar/LoopInterchange.cpp
parent28c1597ad968eb8ec9681c387b5d97de656c720e (diff)
downloadllvm-d18ea0654b76aff3f8b4db9ede9e7d9b5771a874.zip
llvm-d18ea0654b76aff3f8b4db9ede9e7d9b5771a874.tar.gz
llvm-d18ea0654b76aff3f8b4db9ede9e7d9b5771a874.tar.bz2
Typo. NFC.
llvm-svn: 281330
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopInterchange.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopInterchange.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopInterchange.cpp b/llvm/lib/Transforms/Scalar/LoopInterchange.cpp
index 6be6e22..5a9f0fb 100644
--- a/llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopInterchange.cpp
@@ -182,8 +182,8 @@ static bool populateDependencyMatrix(CharMatrix &DepMatrix, unsigned Level,
// A loop is moved from index 'from' to an index 'to'. Update the Dependence
// matrix by exchanging the two columns.
-static void interChangeDepedencies(CharMatrix &DepMatrix, unsigned FromIndx,
- unsigned ToIndx) {
+static void interChangeDependencies(CharMatrix &DepMatrix, unsigned FromIndx,
+ unsigned ToIndx) {
unsigned numRows = DepMatrix.size();
for (unsigned i = 0; i < numRows; ++i) {
char TmpVal = DepMatrix[i][ToIndx];
@@ -557,7 +557,7 @@ struct LoopInterchange : public FunctionPass {
std::swap(LoopList[i - 1], LoopList[i]);
// Update the DependencyMatrix
- interChangeDepedencies(DependencyMatrix, i, i - 1);
+ interChangeDependencies(DependencyMatrix, i, i - 1);
DT->recalculate(F);
#ifdef DUMP_DEP_MATRICIES
DEBUG(dbgs() << "Dependence after inter change \n");