diff options
author | Andrzej Warzyński <andrzej.warzynski@arm.com> | 2024-11-12 15:45:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 15:45:46 +0000 |
commit | 6fe7ad8be35d054f3ba8437979b01b0aba3abd0e (patch) | |
tree | b6957aed73c03bd46248198e918f8d52d2009afa /llvm/lib/Bitcode | |
parent | 44076c9822bd80f11228474f98789eaafe4285b0 (diff) | |
download | llvm-6fe7ad8be35d054f3ba8437979b01b0aba3abd0e.zip llvm-6fe7ad8be35d054f3ba8437979b01b0aba3abd0e.tar.gz llvm-6fe7ad8be35d054f3ba8437979b01b0aba3abd0e.tar.bz2 |
[mlir][vector][nfc] Add tests + update docs for narrow-type emulation (#115460)
The documentation for narrow-type emulation was sparse, so I’ve expanded
it with additional clarifications (e.g., specifying that the example
discusses `i4` -> `i8` emulation).
I also noticed some inconsistencies in testing for narrow-type
emulation, with several cases covered only for "loading" and missing for
"storing." To address this, I’ve:
* Added comments in the test file for easier reference,
* Added the missing tests for `vector.maskedstore`.
Additionally, I’ve renamed tests for `vector.masked{load|store}` for
clarity:
* `@vector_cst_maskedload_i8` -> `@vector_maskedload_i8_constant_mask`.
This makes it easier to contrast with similar functions, such as
`@vector_maskedload_i8`.
Lastly, I’ve added a high-level comment in VectorEmulateNarrowType.cpp
to clarify the overall design and intent of the file.
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions