diff options
author | lialan <alan.li@me.com> | 2024-11-12 12:22:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 09:22:16 -0800 |
commit | c3c3ccc364578c1897780974f685a44bdeec1584 (patch) | |
tree | 73811cf9e213ff42e64810ed0520812a21eaf100 /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | 5a094241de42867c35611b0eec6f3e19d8718c22 (diff) | |
download | llvm-c3c3ccc364578c1897780974f685a44bdeec1584.zip llvm-c3c3ccc364578c1897780974f685a44bdeec1584.tar.gz llvm-c3c3ccc364578c1897780974f685a44bdeec1584.tar.bz2 |
[MLIR] support dynamic indexing of `vector.maskedload` in `VectorEmulateNarrowTypes` (#115070)
Based on existing emulating scheme, this patch expands to support
dynamic indexing by dynamically create intermediate new mask, new pass
thru vector and dynamically insert the result into destination vector.
the dynamic parts are constructed by multiple `vector.extract` and
`vector.insert` to rearrange the original mask/passthru vector, as
`vector.insert_strided_slice` and `vector.extract_strided_slice` only
take static offsets and indices.
Note: currently only supporting `vector.maskedload` with masks created
by `vector.constant_mask`. `vector.create_mask` is currently not
working.
---------
Co-authored-by: hasekawa-takumi <167335845+hasekawa-takumi@users.noreply.github.com>
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions