majaha wrote: Hmm, I'm not sure how I could create another pull request that is stacked on top of this one for the peephole optimisation. Searching around in the LLVM discord, it seems like that's a bit of a pain point at the moment. https://github.com/llvm/llvm-project/pull/65876