[Mlir-commits] [mlir] [mlir] Refactor opaque properties to make them type-safe (PR #185157)

Mehdi Amini llvmlistbot at llvm.org
Fri Mar 13 03:06:31 PDT 2026


================
@@ -925,23 +901,29 @@ class alignas(8) Operation final
   int getPropertiesStorageSize() const {
     return ((int)propertiesStorageSize) * 8;
   }
-  /// Returns the properties storage.
-  OpaqueProperties getPropertiesStorage() {
+
+  /// Return a geeric (but typed) reference to the property type storage.
----------------
joker-eph wrote:

```suggestion
  /// Return a generic (but typed) reference to the property type storage.
```

Probably worth having your AI assistant perform a complete review ;)

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


More information about the Mlir-commits mailing list