do not use the GCD to compute the delinearization strides
authorSebastian Pop <spop@codeaurora.org>
Tue, 27 May 2014 22:41:56 +0000 (22:41 +0000)
committerSebastian Pop <spop@codeaurora.org>
Tue, 27 May 2014 22:41:56 +0000 (22:41 +0000)
commitbf48d8ae51e9eff282c2b26226aa11e577ea76a2
treec2fc2056ef7f342351f6d2f31147bd5fdb65b8da
parent79facc9e2921ee9d18d1adc94d1d03562775f431
do not use the GCD to compute the delinearization strides

We do not need to compute the GCD anymore after we removed the constant
coefficients from the terms: the terms are now all parametric expressions and
there is no need to recognize constant terms that divide only a subset of the
terms. We only rely on the size of the terms, i.e., the number of operands in
the multiply expressions, to sort the terms and recognize the parametric
dimensions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209693 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp