@@ -703,7 +703,8 @@ void Dependence::dumpImp(raw_ostream &OS, bool Separate) const {
703
703
unsigned SeparateLevels = getSeparateLevels ();
704
704
bool OnSeparates = false ;
705
705
unsigned LevelNum = Levels;
706
- if (Separate) LevelNum += SeparateLevels;
706
+ if (Separate)
707
+ LevelNum += SeparateLevels;
707
708
OS << " [" ;
708
709
for (unsigned II = 1 ; II <= LevelNum; ++II) {
709
710
if (!OnSeparates && inSeparateLoops (II))
@@ -1825,13 +1826,10 @@ bool isRemainderZero(const SCEVConstant *Dividend,
1825
1826
// (see also weakZeroDstSIVtest)
1826
1827
//
1827
1828
// Return true if dependence disproved.
1828
- bool DependenceInfo::weakZeroSrcSIVtest (const SCEV *DstCoeff,
1829
- const SCEV *SrcConst,
1830
- const SCEV *DstConst,
1831
- const Loop *CurSrcLoop,
1832
- const Loop *CurDstLoop, unsigned Level,
1833
- FullDependence &Result,
1834
- Constraint &NewConstraint) const {
1829
+ bool DependenceInfo::weakZeroSrcSIVtest (
1830
+ const SCEV *DstCoeff, const SCEV *SrcConst, const SCEV *DstConst,
1831
+ const Loop *CurSrcLoop, const Loop *CurDstLoop, unsigned Level,
1832
+ FullDependence &Result, Constraint &NewConstraint) const {
1835
1833
// For the WeakSIV test, it's possible the loop isn't common to
1836
1834
// the Src and Dst loops. If it isn't, then there's no need to
1837
1835
// record a direction.
@@ -1936,13 +1934,10 @@ bool DependenceInfo::weakZeroSrcSIVtest(const SCEV *DstCoeff,
1936
1934
// (see also weakZeroSrcSIVtest)
1937
1935
//
1938
1936
// Return true if dependence disproved.
1939
- bool DependenceInfo::weakZeroDstSIVtest (const SCEV *SrcCoeff,
1940
- const SCEV *SrcConst,
1941
- const SCEV *DstConst,
1942
- const Loop *CurSrcLoop,
1943
- const Loop *CurDstLoop, unsigned Level,
1944
- FullDependence &Result,
1945
- Constraint &NewConstraint) const {
1937
+ bool DependenceInfo::weakZeroDstSIVtest (
1938
+ const SCEV *SrcCoeff, const SCEV *SrcConst, const SCEV *DstConst,
1939
+ const Loop *CurSrcLoop, const Loop *CurDstLoop, unsigned Level,
1940
+ FullDependence &Result, Constraint &NewConstraint) const {
1946
1941
// For the WeakSIV test, it's possible the loop isn't common to the
1947
1942
// Src and Dst loops. If it isn't, then there's no need to record a direction.
1948
1943
LLVM_DEBUG (dbgs () << " \t Weak-Zero (dst) SIV test\n " );
@@ -2015,7 +2010,6 @@ bool DependenceInfo::weakZeroDstSIVtest(const SCEV *SrcCoeff,
2015
2010
return false ;
2016
2011
}
2017
2012
2018
-
2019
2013
// exactRDIVtest - Tests the RDIV subscript pair for dependence.
2020
2014
// Things of the form [c1 + a*i] and [c2 + b*j],
2021
2015
// where i and j are induction variable, c1 and c2 are loop invariant,
0 commit comments