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