[llvm] r209693 - do not use the GCD to compute the delinearization strides

Tobias Grosser tobias at grosser.es
Tue May 27 16:00:30 PDT 2014


On 28/05/2014 07:41, Sebastian Pop wrote:
> Author: spop
> Date: Tue May 27 17:41:56 2014
> New Revision: 209693
>
> URL: http://llvm.org/viewvc/llvm-project?rev=209693&view=rev
> Log:
> 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.

Nice!

Tobi



More information about the llvm-commits mailing list