Unverified Commit e3c9c82c authored by Han-Chung Wang's avatar Han-Chung Wang Committed by GitHub
Browse files

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

In some cases (see https://github.com/iree-org/iree/issues/16285),
`memref.subview` ops can't be folded into transfer ops and sub-byte type
emulation fails. This issue has been blocking a few things, including
the enablement of vector flattening transformations
(https://github.com/iree-org/iree/pull/16456

). This PR extends the
existing sub-byte type emulation support of `memref.subview` to handle
multi-dimensional subviews with dynamic offsets and addresses the issues
for some of the `memref.subview` cases that can't be folded.

Co-authored-by: default avatarDiego Caballero <diegocaballero@google.com>
parent 4c416a90
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment