alexey-bataev wrote: > Are there any cases where reordering can produce incorrect code? No, this transformation should preserve the correctness. This changes just reorders the nodes, allowing to reduce final number of shuffles https://github.com/llvm/llvm-project/pull/136185