[Mlir-commits] [flang] [mlir] [MLIR][LLVMIR] Add 'distinct' ID to the loop-annotate attribute (PR #233890)
Erich Keane
llvmlistbot at llvm.org
Tue Oct 20 09:46:57 PDT 2026
================
@@ -488,11 +488,13 @@ LoopAnnotationAttr LoopMetadataConversion::convertProperties() {
FailureOr<FusedLoc> startLoc = convertStartLoc();
FailureOr<FusedLoc> endLoc = convertEndLoc();
+ // Imported nodes have no id, the metadata node itself is the identity.
+ FailureOr<DistinctAttr> id = DistinctAttr();
----------------
erichkeane wrote:
Yeah, it absolutely should. I put some work in to thread an ID through teh LoopMetadataConversion in the right places I think.
https://github.com/llvm/llvm-project/pull/233890
More information about the Mlir-commits
mailing list