[polly] [Polly] Disable vectorization for Polly's fallback loops (PR #119188)
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 9 05:26:53 PST 2024
================
@@ -233,6 +234,15 @@ static bool generateCode(Scop &S, IslAstInfo &AI, LoopInfo &LI,
NodeBuilder.allocateNewArrays(StartExitBlocks);
Annotator.buildAliasScopes(S);
+ // The code below annotates the "llvm.loop.vectorize.enable" to false
+ // for the code flow taken when RTCs fail. Because we don't want the
+ // Loop Vectorizer to come in later and vectorize the original fall back
+ // loop when polly is enabled.
----------------
Meinersbur wrote:
```suggestion
// loop when Polly is enabled.
```
https://github.com/llvm/llvm-project/pull/119188
More information about the llvm-commits
mailing list