[Mlir-commits] [mlir] [mlir][MemRef] Extend memref.subview sub-byte type emulation support. (PR #94045)

Han-Chung Wang llvmlistbot at llvm.org
Mon Jun 3 14:54:33 PDT 2024


================
@@ -335,7 +279,48 @@ struct ConvertMemRefReinterpretCast final
           op->getLoc(), "subview with rank > 1 is not supported");
     }
 
-    return convertCastingOp(rewriter, adaptor, op, newTy);
+    Type convertedElementType = newTy.getElementType();
----------------
hanhanW wrote:

sure, done. Now it is only used by the ReinterpretCastOp pattern, so I remove the template.

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


More information about the Mlir-commits mailing list