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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Apr 10 07:38:44 PDT 2024


MaheshRavishankar wrote:

> For context, this op was introduced along with `reinterpret_cast` (which is a misnomer IMO) to support address optimization at the arith/index dialect level rather than at the llvm dialect level. It was _not_ introduced for external calls, though it can be used for that purpose.
> 
> Also see https://discourse.llvm.org/t/extracting-dynamic-offsets-strides-from-memref/64170.

I used external call above just to represent observable behavior. The same issue would happen even without external calls.

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


More information about the Mlir-commits mailing list