https://github.com/paulwalker-arm commented: I feel like I've said this before but why is this not just a DAG combine? Some of the results look preferable regardless of streaming requirements. https://github.com/llvm/llvm-project/pull/129756