[Mlir-commits] [mlir] [mlir][mem2reg] Promote memory slots through transparent view operations (PR #196924)
Tobias Gysi
llvmlistbot at llvm.org
Wed May 20 12:49:38 PDT 2026
================
@@ -44,4 +46,62 @@ enum class DeletionKind {
#include "mlir/Interfaces/MemorySlotOpInterfaces.h.inc"
#include "mlir/Interfaces/MemorySlotTypeInterfaces.h.inc"
+namespace mlir {
+
+/// An entry in a `PromotableAliasMap`: the memory slot exposed by an aliaser
+/// operation, along with the operand it aliases from.
+struct PromotableSlotAliasInfo {
+ /// The slot exposed by the aliaser (its `ptr` is a result of the aliaser
----------------
gysit wrote:
```suggestion
/// The slot defined by the aliaser (its `ptr` is a result of the aliaser
```
nit: maybe defined is a better fit here assuming this is the result value.
https://github.com/llvm/llvm-project/pull/196924
More information about the Mlir-commits
mailing list