[PATCH] D121677: [RISCV] Return Invalid cost in getGatherScatterOpCost instead of crashing for scalable vectors

Liao Chunyu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 02:14:12 PDT 2022


liaolucy added a comment.

I try to support scalable vectors in getGatherScatterOpCost, but I don't know how to support scalable vectors.

https://reviews.llvm.org/D115143 SVE adds on an overhead cost for gathers and scatters, which is a rough estimate based on performance investigations.

Does RVV add similar values?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121677/new/

https://reviews.llvm.org/D121677



More information about the llvm-commits mailing list