[llvm] [AArch64] Unrolling of loops with vector instructions. (PR #147420)

Usman Nadeem via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 15:45:57 PDT 2025


UsmanNadeem wrote:

It looks like this patch now also prevents the unroll of the original scalar loop when the alias/iter checks fail. Seems like all the variants of the loop share the `"llvm.loop.isvectorized"` metadata so none of the variants will be unrolled.

See example: https://godbolt.org/z/nn1fh67ns

https://github.com/llvm/llvm-project/pull/147420


More information about the llvm-commits mailing list