https://github.com/davemgreen commented: Can you add tests into llvm/test/CodeGen/AArch64 that show examples of how these should be generated? They should ideally be as minimal as possible, not the full loops. https://github.com/llvm/llvm-project/pull/100769