[Mlir-commits] [mlir] [mlir][LLVMIR] Fix loop follow-up metadata import and export (PR #223376)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat Sep 19 18:14:09 PDT 2026
================
@@ -110,11 +110,15 @@ void LoopAnnotationConversion::convertFollowupNode(StringRef name,
if (!attr)
return;
- llvm::MDNode *node =
+ llvm::MDNode *loopID =
loopAnnotationTranslation.translateLoopAnnotation(attr, op);
- metadataNodes.push_back(
- llvm::MDNode::get(ctx, {llvm::MDString::get(ctx, name), node}));
+ // Follow-ups contain properties directly, without the LoopID self-reference.
+ SmallVector<llvm::Metadata *, 4> operands;
----------------
ardenyang0125 wrote:
Done, removed the explicit inline capacity to use the default. Thanks!
https://github.com/llvm/llvm-project/pull/223376
More information about the Mlir-commits
mailing list