diff options
author | Mubashar Ahmad <mubashar.ahmad@arm.com> | 2024-05-30 09:42:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 09:42:35 +0100 |
commit | bc946f52870a51b49a0c7c3c508cef1905a11bc0 (patch) | |
tree | 4188bccf20140e93d02b42d83574edbe79370c63 /clang/unittests/Interpreter/InterpreterTest.cpp | |
parent | cd9a02e2c76ec2f37409c6f7becd61e605c117d8 (diff) | |
download | llvm-bc946f52870a51b49a0c7c3c508cef1905a11bc0.zip llvm-bc946f52870a51b49a0c7c3c508cef1905a11bc0.tar.gz llvm-bc946f52870a51b49a0c7c3c508cef1905a11bc0.tar.bz2 |
[mlir][vector] Add 1D vector.deinterleave lowering (#93042)
This patch implements the lowering of vector.deinterleave
for 1D vectors.
For fixed vector types, the operation is lowered to two
llvm shufflevector operations. One for even indexed
elements and the other for odd indexed elements. A poison
operation is used to satisfy the parameters of the
shufflevector parameters.
For scalable vectors, the llvm vector.deinterleave2
intrinsic is used for lowering. As such the results
found by extraction and used to form the result
struct for the intrinsic.
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions