davemgreen wrote: > Just one nit about tests, is there a test with scalable vectors where this shouldn't trigger? Thanks - I think we should be OK to enable it for scalable vectors too, providing that all the extracts are from constant offset. https://github.com/llvm/llvm-project/pull/159714