[Mlir-commits] [mlir] [mlir][vector][nfc] Add tests + update docs for narrow-type emulation (PR #115460)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Nov 11 06:56:27 PST 2024


lialan wrote:

> ```
> %mask = [0, 1, 1, 1, 1, 1, 0, 0]
> ```
> 
> The preceding zeros are common for the unaligned cases introduced here: #113411. @lialan may want to clarify.

@dcaballe @banach-space  the preceding zeros will be used when a memref's innermost dim is not strictly byte aligned. This could happen not only as input but after some transformations such as tiling. So it is definitely needed (but best to avoid as it sometimes emit poor code).

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


More information about the Mlir-commits mailing list