aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-dwp/llvm-dwp.cpp
diff options
context:
space:
mode:
authorjacquesguan <Jianjian.Guan@streamcomputing.com>2022-08-31 16:09:36 +0800
committerjacquesguan <Jianjian.Guan@streamcomputing.com>2022-09-14 11:10:18 +0800
commitecf327f1548e5933ff032bde488e45210cba9863 (patch)
treeb794bfa2428626a5d3b6d223962bd453949cf65b /llvm/tools/llvm-dwp/llvm-dwp.cpp
parente2632fbcdd8d8a5fff6c3ea4f4104cb63019f2c9 (diff)
downloadllvm-ecf327f1548e5933ff032bde488e45210cba9863.zip
llvm-ecf327f1548e5933ff032bde488e45210cba9863.tar.gz
llvm-ecf327f1548e5933ff032bde488e45210cba9863.tar.bz2
[RISCV] Add cost model for vector insert/extract element.
This patch adds cost model for vector insert/extract element instructions. In RVV, we could use vector scalar move instruction to insert or extract the first element, and use vslide to move it. But for mask vector or i64 vector in i32 target, we need special instructions to make it. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D133007
Diffstat (limited to 'llvm/tools/llvm-dwp/llvm-dwp.cpp')
0 files changed, 0 insertions, 0 deletions