aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2021-02-22 16:51:24 +0000
committerFraser Cormack <fraser@codeplay.com>2021-02-25 12:11:34 +0000
commit84413e1947427a917a3e55abfc1f66c42adc751b (patch)
treedf55c68fbeb08c22cfe8afac0ea2114d74458fc6 /clang/lib/Frontend
parent3bc5ed38750c6a6daff39ad524b75e40c8c09183 (diff)
downloadllvm-84413e1947427a917a3e55abfc1f66c42adc751b.zip
llvm-84413e1947427a917a3e55abfc1f66c42adc751b.tar.gz
llvm-84413e1947427a917a3e55abfc1f66c42adc751b.tar.bz2
[RISCV] Support fixed-length vector truncates
This patch extends support for our custom-lowering of scalable-vector truncates to include those of fixed-length vectors. It does this by co-opting the custom RISCVISD::TRUNCATE_VECTOR node and adding mask and VL operands. This avoids unnecessary duplication of patterns and inflation of the ISel table. Some truncates go through CONCAT_VECTORS which currently isn't efficiently handled, as it goes through the stack. This can be improved upon in the future. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D97202
Diffstat (limited to 'clang/lib/Frontend')
0 files changed, 0 insertions, 0 deletions