[Mlir-commits] [mlir] [mlir][memref][llvm] Infer llvm alias scopes attrs from `memref.distinct_objects` (PR #160512)
Krzysztof Drewniak
llvmlistbot at llvm.org
Wed Sep 24 10:35:54 PDT 2025
================
@@ -878,6 +922,18 @@ struct GetGlobalMemrefOpLowering
}
};
+static SmallVector<std::pair<StringAttr, Attribute>>
+copyImportantAttrs(Operation *op) {
+ SmallVector<std::pair<StringAttr, Attribute>> attrs;
+ for (StringRef attrName : {LLVM::LLVMDialect::getAliasScopesAttrName(),
----------------
krzysz00 wrote:
Can we just unconditionally pass through LLVM dialect attributes here?
https://github.com/llvm/llvm-project/pull/160512
More information about the Mlir-commits
mailing list