[Mlir-commits] [mlir] [MLIR] Remove deprecated setting usePropertiesForAttributes (PR #182327)
Matthias Springer
llvmlistbot at llvm.org
Thu Feb 19 22:54:48 PST 2026
================
@@ -570,20 +570,14 @@ class RegisteredOperationName : public OperationName {
return ConcreteOp::getInherentAttr(concreteOp->getContext(),
concreteOp.getProperties(), name);
}
- // If the op does not have support for properties, we dispatch back to the
- // dictionnary of discardable attributes for now.
- return cast<ConcreteOp>(op)->getDiscardableAttr(name);
+ return std::nullopt;
----------------
matthias-springer wrote:
Same here, should this be a failed assertion?
`static_assert(hasProperties)`
https://github.com/llvm/llvm-project/pull/182327
More information about the Mlir-commits
mailing list