Skip to content

Commit 5063efc

Browse files
committed
Fix format
1 parent 75639b9 commit 5063efc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

llvm/lib/Analysis/DependenceAnalysis.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3315,7 +3315,7 @@ enum class MonotonicityType {
33153315
///< cause signed wrap.
33163316
Constant, ///< The expression is constant. If a SCEV is classified as
33173317
///< Constant, it also implies that it doesn't contain any
3318-
///< arithmetic operations that may cause signed wrap.
3318+
///< arithmetic operations that may cause signed wrap.
33193319
Monotonic, ///< The expression is monotonically increasing or decreasing. This
33203320
///< is exclusive of Constant. That is, we say an SCEV is Monotonic
33213321
///< iff it contains at least one AddRec where its step reccurence
@@ -3818,9 +3818,6 @@ bool DependenceInfo::tryDelinearizeParametricSize(
38183818
for (size_t I = 1; I < Size; ++I) {
38193819
const Loop *OutermostLoop =
38203820
LI->getLoopFor(Src->getParent())->getOutermostLoop();
3821-
IntegerType *Ty = cast<IntegerType>(Sizes[I - 1]->getType());
3822-
if (!Ty)
3823-
return false;
38243821

38253822
MonotonicityType SrcMonotonicity =
38263823
SCEVSignedMonotonicityChecker(SE, OutermostLoop, SrcPtr)

0 commit comments

Comments
 (0)