Skip to content

Commit dcb6679

Browse files
committed
Apply format
1 parent 2a8f9c8 commit dcb6679

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/lib/Analysis/DependenceAnalysis.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4018,12 +4018,12 @@ DependenceInfo::depends(Instruction *Src, Instruction *Dst,
40184018
}
40194019

40204020
#ifndef NDEBUG
4021-
// Check that the converse (i.e., if the distance is zero, then the
4022-
// direction is EQ) holds.
4023-
const SCEV *Distance = Result.getDistance(II);
4024-
if (Distance && Distance->isZero())
4025-
assert(Result.getDirection(II) == Dependence::DVEntry::EQ &&
4026-
"Distance is zero, but direction is not EQ");
4021+
// Check that the converse (i.e., if the distance is zero, then the
4022+
// direction is EQ) holds.
4023+
const SCEV *Distance = Result.getDistance(II);
4024+
if (Distance && Distance->isZero())
4025+
assert(Result.getDirection(II) == Dependence::DVEntry::EQ &&
4026+
"Distance is zero, but direction is not EQ");
40274027
#endif
40284028
}
40294029

0 commit comments

Comments
 (0)