This is part of the series started by D68484.
When a restrict variable is declared in the loop body, and the loop is
rotated, care must be taken to clone the llvm.noalias.decl and the noalias
scopes to ensure that the local restrict scope does not spill over the
iterations.
Note: this is a stable point and tests should run fine with the patches applied up to this point.