[polly] [Polly] Skip vectorize.enable for FP loops with dist=1 dependences (PR #205756)
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 13 06:14:27 PDT 2026
================
@@ -434,6 +436,34 @@ static bool IsLoopVectorizerDisabled(isl::ast_node_for Node) {
return false;
}
+// Returns true if the loop has a dist=1 dependence involving FP operations
+// (array-carried RAW/WAW or scalar FP reduction). In that case we omit the
+// vectorize.enable annotation and let the Loop Vectorizer decide.
----------------
Meinersbur wrote:
```suggestion
/// Returns true if the loop has a dist=1 dependence involving FP operations
/// (array-carried RAW/WAW or scalar FP reduction). In that case we omit the
/// vectorize.enable annotation and let the Loop Vectorizer decide.
```
[nit]
https://github.com/llvm/llvm-project/pull/205756
More information about the llvm-commits
mailing list