diff options
author | Han-Chung Wang <hanhan0912@gmail.com> | 2024-06-03 22:02:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 22:02:15 -0700 |
commit | e3c9c82ce8098bc04f4f8186a462392a50cabdae (patch) | |
tree | c4217d9f9a6af25740480acee4de7fc2f00e3011 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 4c416a904c5aeb2590ea8336094f593b5cf7e484 (diff) | |
download | llvm-e3c9c82ce8098bc04f4f8186a462392a50cabdae.zip llvm-e3c9c82ce8098bc04f4f8186a462392a50cabdae.tar.gz llvm-e3c9c82ce8098bc04f4f8186a462392a50cabdae.tar.bz2 |
[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: Diego Caballero <diegocaballero@google.com>
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions