@@ -1379,8 +1379,8 @@ bool DependenceInfo::weakCrossingSIVtest(
13791379 LLVM_DEBUG (dbgs () << " \t Delta = " << *Delta << " \n " );
13801380 NewConstraint.setLine (Coeff, Coeff, Delta, CurLoop);
13811381 if (Delta->isZero ()) {
1382- Result.DV [Level].Direction &= unsigned ( ~Dependence::DVEntry::LT) ;
1383- Result.DV [Level].Direction &= unsigned ( ~Dependence::DVEntry::GT) ;
1382+ Result.DV [Level].Direction &= ~Dependence::DVEntry::LT;
1383+ Result.DV [Level].Direction &= ~Dependence::DVEntry::GT;
13841384 ++WeakCrossingSIVsuccesses;
13851385 if (!Result.DV [Level].Direction ) {
13861386 ++WeakCrossingSIVindependence;
@@ -1439,8 +1439,8 @@ bool DependenceInfo::weakCrossingSIVtest(
14391439 }
14401440 if (isKnownPredicate (CmpInst::ICMP_EQ, Delta, ML)) {
14411441 // i = i' = UB
1442- Result.DV [Level].Direction &= unsigned ( ~Dependence::DVEntry::LT) ;
1443- Result.DV [Level].Direction &= unsigned ( ~Dependence::DVEntry::GT) ;
1442+ Result.DV [Level].Direction &= ~Dependence::DVEntry::LT;
1443+ Result.DV [Level].Direction &= ~Dependence::DVEntry::GT;
14441444 ++WeakCrossingSIVsuccesses;
14451445 if (!Result.DV [Level].Direction ) {
14461446 ++WeakCrossingSIVindependence;
@@ -1473,7 +1473,7 @@ bool DependenceInfo::weakCrossingSIVtest(
14731473 LLVM_DEBUG (dbgs () << " \t Remainder = " << Remainder << " \n " );
14741474 if (Remainder != 0 ) {
14751475 // Equal direction isn't possible
1476- Result.DV [Level].Direction &= unsigned ( ~Dependence::DVEntry::EQ) ;
1476+ Result.DV [Level].Direction &= ~Dependence::DVEntry::EQ;
14771477 ++WeakCrossingSIVsuccesses;
14781478 }
14791479 return false ;
@@ -2557,7 +2557,7 @@ bool DependenceInfo::gcdMIVtest(const SCEV *Src, const SCEV *Dst,
25572557 LLVM_DEBUG (dbgs () << " \t Remainder = " << Remainder << " \n " );
25582558 if (Remainder != 0 ) {
25592559 unsigned Level = mapSrcLoop (CurLoop);
2560- Result.DV [Level - 1 ].Direction &= unsigned ( ~Dependence::DVEntry::EQ) ;
2560+ Result.DV [Level - 1 ].Direction &= ~Dependence::DVEntry::EQ;
25612561 Improved = true ;
25622562 }
25632563 }
0 commit comments