mshockwave wrote: I've pushed the latest version of this Pass that relies on IR pattern matching against the specific shape of loops generated by LoopVectorizer. Which means that this Pass now runs right after the LV. https://github.com/llvm/llvm-project/pull/91796