[flang-commits] [flang] [mlir] [MLIR][LLVMIR] Add 'distinct' ID to the loop-annotate attribute (PR #233890)

Erich Keane via flang-commits flang-commits at lists.llvm.org
Tue Oct 20 09:46:56 PDT 2026


================
@@ -298,6 +298,12 @@ def LoopAnnotationAttr : LLVM_Attr<"LoopAnnotation", "loop_annotation"> {
     metadatas: https://llvm.org/docs/LangRef.html#llvm-loop
     It stores annotations in attribute parameters and groups related options in
     nested attributes to provide structured access.
+
+    The optional 'id' identifies distinct loops.  It doesn't generate metadata,
----------------
erichkeane wrote:

I took another attempt at this, please let me know what you think!

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


More information about the flang-commits mailing list