diff options
author | Elvis Wang <elvis.wang@sifive.com> | 2025-02-05 07:46:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-05 07:46:38 +0800 |
commit | 13432e07f65a0e0c2eaf8a0c2fc81aa7bd3ddd23 (patch) | |
tree | 5c9c83788e9295a9aee8147d29df52a94ef9fe7c /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8cc7f747cc61eddaec4cfdb9e981c15616a1e6bf (diff) | |
download | llvm-13432e07f65a0e0c2eaf8a0c2fc81aa7bd3ddd23.zip llvm-13432e07f65a0e0c2eaf8a0c2fc81aa7bd3ddd23.tar.gz llvm-13432e07f65a0e0c2eaf8a0c2fc81aa7bd3ddd23.tar.bz2 |
[RISCV][TTI] Implement instruction cost for vp.splice. (#124221)
This patch implement the instruction cost for vp.splice intrinsic.
To support type-based query for LV, adding a constant index when quering
`getShuffleCost()`. We get the same cost no matter what
`index` is because it only change the cost from `vslide.vx` to
`vslide.vi` and
the cost of `vslide.vx` is same as `vslide.vi` in current
RISCV implementation.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions