aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorMubashar Ahmad <mubashar.ahmad@arm.com>2024-05-30 09:42:35 +0100
committerGitHub <noreply@github.com>2024-05-30 09:42:35 +0100
commitbc946f52870a51b49a0c7c3c508cef1905a11bc0 (patch)
tree4188bccf20140e93d02b42d83574edbe79370c63 /clang/unittests/Interpreter/InterpreterTest.cpp
parentcd9a02e2c76ec2f37409c6f7becd61e605c117d8 (diff)
downloadllvm-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