nikic wrote: Skipping memsets for now. I added a PhaseOrdering test in https://github.com/llvm/llvm-project/commit/ec150a9944b2ce447c94944043fe1b87234e971f. I think what we're mainly missing is store sinking support in DSE. https://github.com/llvm/llvm-project/pull/145474