[polly] [Polly] Add vectorize metadata to loops identified as vectorizable by polly (PR #113994)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 04:41:56 PST 2024


================
@@ -128,8 +128,28 @@ void ScopAnnotator::popLoop(bool IsParallel) {
   LoopAttrEnv.pop_back();
 }
 
-void ScopAnnotator::annotateLoopLatch(BranchInst *B, Loop *L, bool IsParallel,
-                                      bool IsLoopVectorizerDisabled) const {
+void ScopAnnotator::addVectorizeMetadata(LLVMContext &Ctx,
----------------
Meinersbur wrote:

```suggestion
static void addVectorizeMetadata(LLVMContext &Ctx,
```
AFICS this does not use any `ScopAnnotator` members

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


More information about the llvm-commits mailing list