@@ -1836,13 +1836,10 @@ bool isRemainderZero(const SCEVConstant *Dividend,
1836
1836
// (see also weakZeroDstSIVtest)
1837
1837
//
1838
1838
// Return true if dependence disproved.
1839
- bool DependenceInfo::weakZeroSrcSIVtest (const SCEV *DstCoeff,
1840
- const SCEV *SrcConst,
1841
- const SCEV *DstConst,
1842
- const Loop *CurSrcLoop,
1843
- const Loop *CurDstLoop, unsigned Level,
1844
- FullDependence &Result,
1845
- Constraint &NewConstraint) const {
1839
+ bool DependenceInfo::weakZeroSrcSIVtest (
1840
+ const SCEV *DstCoeff, const SCEV *SrcConst, const SCEV *DstConst,
1841
+ const Loop *CurSrcLoop, const Loop *CurDstLoop, unsigned Level,
1842
+ FullDependence &Result, Constraint &NewConstraint) const {
1846
1843
// For the WeakSIV test, it's possible the loop isn't common to
1847
1844
// the Src and Dst loops. If it isn't, then there's no need to
1848
1845
// record a direction.
@@ -1947,13 +1944,10 @@ bool DependenceInfo::weakZeroSrcSIVtest(const SCEV *DstCoeff,
1947
1944
// (see also weakZeroSrcSIVtest)
1948
1945
//
1949
1946
// Return true if dependence disproved.
1950
- bool DependenceInfo::weakZeroDstSIVtest (const SCEV *SrcCoeff,
1951
- const SCEV *SrcConst,
1952
- const SCEV *DstConst,
1953
- const Loop *CurSrcLoop,
1954
- const Loop *CurDstLoop, unsigned Level,
1955
- FullDependence &Result,
1956
- Constraint &NewConstraint) const {
1947
+ bool DependenceInfo::weakZeroDstSIVtest (
1948
+ const SCEV *SrcCoeff, const SCEV *SrcConst, const SCEV *DstConst,
1949
+ const Loop *CurSrcLoop, const Loop *CurDstLoop, unsigned Level,
1950
+ FullDependence &Result, Constraint &NewConstraint) const {
1957
1951
// For the WeakSIV test, it's possible the loop isn't common to the
1958
1952
// Src and Dst loops. If it isn't, then there's no need to record a direction.
1959
1953
LLVM_DEBUG (dbgs () << " \t Weak-Zero (dst) SIV test\n " );
@@ -2026,7 +2020,6 @@ bool DependenceInfo::weakZeroDstSIVtest(const SCEV *SrcCoeff,
2026
2020
return false ;
2027
2021
}
2028
2022
2029
-
2030
2023
// exactRDIVtest - Tests the RDIV subscript pair for dependence.
2031
2024
// Things of the form [c1 + a*i] and [c2 + b*j],
2032
2025
// where i and j are induction variable, c1 and c2 are loop invariant,
0 commit comments