[Mlir-commits] [mlir] [mlir][Linalg] Split explicit inherent/discardable attribute APIs access (PR #218916)

Krzysztof Drewniak llvmlistbot at llvm.org
Wed Aug 26 14:46:23 PDT 2026


================
@@ -1941,7 +1941,7 @@ void PrefetchOp::print(OpAsmPrinter &p) {
   p << ", locality<" << getLocalityHint();
   p << ">, " << (getIsDataCache() ? "data" : "instr");
   p.printOptionalAttrDict(
-      (*this)->getAttrs(),
+      (*this)->getDiscardableAttrDictionary().getValue(),
----------------
krzysz00 wrote:

Is it just me, or does this `getValue()` everywhere feel really awkward?

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


More information about the Mlir-commits mailing list