https://github.com/jayfoad commented: Was the generated code wrong before? Or just suboptimal, because it set up an sp register in cases where it didn't really need to? https://github.com/llvm/llvm-project/pull/71913