Skip to content

nir: Unroll loops with multiplication and left shift incrementation

Yevhenii Kolesnikov requested to merge opt_loop-unroll-mult into master

Calculate number of iterations for loops, where incrementation is done by multiplication.

Multiplication by power of two may be transformed to left shift for integers, thereof requires separate algorithm.

Signed-off-by: Yevhenii Kolesnikov yevhenii.kolesnikov@globallogic.com

Edited by Yevhenii Kolesnikov

Merge request reports

Loading