mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-14 09:56:23 +00:00
Typo. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281330 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bcfa2b15ee
commit
78490522e3
@ -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
|
// A loop is moved from index 'from' to an index 'to'. Update the Dependence
|
||||||
// matrix by exchanging the two columns.
|
// matrix by exchanging the two columns.
|
||||||
static void interChangeDepedencies(CharMatrix &DepMatrix, unsigned FromIndx,
|
static void interChangeDependencies(CharMatrix &DepMatrix, unsigned FromIndx,
|
||||||
unsigned ToIndx) {
|
unsigned ToIndx) {
|
||||||
unsigned numRows = DepMatrix.size();
|
unsigned numRows = DepMatrix.size();
|
||||||
for (unsigned i = 0; i < numRows; ++i) {
|
for (unsigned i = 0; i < numRows; ++i) {
|
||||||
char TmpVal = DepMatrix[i][ToIndx];
|
char TmpVal = DepMatrix[i][ToIndx];
|
||||||
@ -557,7 +557,7 @@ struct LoopInterchange : public FunctionPass {
|
|||||||
std::swap(LoopList[i - 1], LoopList[i]);
|
std::swap(LoopList[i - 1], LoopList[i]);
|
||||||
|
|
||||||
// Update the DependencyMatrix
|
// Update the DependencyMatrix
|
||||||
interChangeDepedencies(DependencyMatrix, i, i - 1);
|
interChangeDependencies(DependencyMatrix, i, i - 1);
|
||||||
DT->recalculate(F);
|
DT->recalculate(F);
|
||||||
#ifdef DUMP_DEP_MATRICIES
|
#ifdef DUMP_DEP_MATRICIES
|
||||||
DEBUG(dbgs() << "Dependence after inter change \n");
|
DEBUG(dbgs() << "Dependence after inter change \n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user