[Mlir-commits] [mlir] [MLIR][SROA][Mem2Reg] Add data layout to interface methods (PR #85644)

Théo Degioanni llvmlistbot at llvm.org
Tue Mar 19 10:07:27 PDT 2024


================
@@ -83,11 +83,7 @@ def PromotableAllocationOpInterface
 def PromotableMemOpInterface : OpInterface<"PromotableMemOpInterface"> {
   let description = [{
     Describes an operation that can load from memory slots and/or store
-    to memory slots. Loads and stores must be of whole values of the same
-    type as the slot itself.
-
-    For a memory operation on a slot to be valid, it must operate on the slot
-    pointer *only as a pointer to an element of the type of the slot*.
+    to memory slots.
----------------
Moxinilian wrote:

What about loading larger types from smaller slots?

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


More information about the Mlir-commits mailing list