[skip ci] Rewrite loop reordering
This rewrite was necessary for the cases where the instruction contains a reduction but the expression itself is not a reduction. Besides fixing this bug it greatly reduces code duplication and increases code quality.
Please register or sign in to comment