https://github.com/AlexMaclean commented: Would it be possible to include some tests that demonstrate positive effects on code-gen as a result of this change? The only impact currently seems to be some re-ordering. https://github.com/llvm/llvm-project/pull/138605