[DA] Add static to analyzeCoefficientsForGCD (NFC) (#190172)
This commit is contained in:
parent
91b3b67a9e
commit
75359e1e1f
@ -2093,8 +2093,9 @@ bool DependenceInfo::accumulateCoefficientsGCD(const SCEV *Expr,
|
||||
/// Compute \p RunningGCD and return the start value of the innermost
|
||||
/// \p SCEVAddRecExpr. In order to calculate the return value we do not
|
||||
/// return immediately if it is proved that \p RunningGCD = 1.
|
||||
const SCEV *analyzeCoefficientsForGCD(const SCEV *Coefficients,
|
||||
APInt &RunningGCD, ScalarEvolution *SE) {
|
||||
static const SCEV *analyzeCoefficientsForGCD(const SCEV *Coefficients,
|
||||
APInt &RunningGCD,
|
||||
ScalarEvolution *SE) {
|
||||
while (const SCEVAddRecExpr *AddRec =
|
||||
dyn_cast<SCEVAddRecExpr>(Coefficients)) {
|
||||
const SCEV *Coeff = AddRec->getStepRecurrence(*SE);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user