https://github.com/david-arm commented: Thanks for this @hassnaaHamdi! I think the PR is useful refactoring for future work that will permit the generation of predicated vector epilogues. https://github.com/llvm/llvm-project/pull/169509