[llvm-branch-commits] [mlir] [mlir][bufferization] Remove remaining dialect conversion-based infra parts (PR #114155)

Javed Absar via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 19 16:50:52 PST 2024


================
@@ -138,8 +140,8 @@ bufferization::getGlobalFor(arith::ConstantOp constantOp, uint64_t alignment,
       alignment > 0 ? IntegerAttr::get(globalBuilder.getI64Type(), alignment)
                     : IntegerAttr();
 
-  BufferizeTypeConverter typeConverter;
----------------
javedabsar1 wrote:

Maybe I dont understand this part of bufferizer. Could you please add a comment why s/`typeConverter.convertType(type)`/getMemRefTypeWithStaticIdentityLayout(type)/' is correct.

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


More information about the llvm-branch-commits mailing list