[polly] Bypass some profitabilty check when polly adds vectorize.enable (PR #227535)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 01:23:35 PDT 2026


================
@@ -108,6 +108,17 @@ static cl::opt<bool, true> XPollyProcessUnprofitable(
         "Process scops that are unlikely to benefit from Polly optimizations."),
     cl::location(PollyProcessUnprofitable), cl::cat(PollyCategory));
 
+// This option defines a polly mode that has differences in the polly decisions
+// with a view of vectorizing eventually. This is done by adding a
+// vectorize.enable metadata to the loops analysed and found fit by polly so
+// that the loop vectorizer can handle them.
----------------
Meinersbur wrote:

```suggestion
/// This option defines a polly mode that has differences in the polly decisions
/// with a view of vectorizing eventually. This is done by adding a
/// vectorize.enable metadata to the loops analysed and found fit by polly so
/// that the loop vectorizer can handle them.
```
Use doxygen comments

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


More information about the llvm-commits mailing list