[Mlir-commits] [mlir] [mlir] remove folder on MemRef::ExtractStridedMetadataOp (PR #88043)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Apr 8 15:05:28 PDT 2024


================
@@ -987,8 +987,6 @@ def MemRef_ExtractStridedMetadataOp : MemRef_Op<"extract_strided_metadata", [
 
     ::mlir::Value getViewSource() { return getSource(); }
   }];
-
-  let hasFolder = 1;
----------------
MaheshRavishankar wrote:

Also add to the description of the op why the offsets and strides if constant shouldnt be folded away. Basically we want to make sure these dont get added back in by providing context as to why these shouldnt be added.

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


More information about the Mlir-commits mailing list