[PATCH] D99142: [RISCV] Add basic cost modelling for fixed vector gather/scatter.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 24 10:25:52 PDT 2021


craig.topper updated this revision to Diff 333037.
craig.topper added a comment.

Grab a loop vectorize test cases from X86 to show that it works. I can add more data types if we want.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99142

Files:
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
  llvm/test/Analysis/CostModel/RISCV/fixed-vector-gather.ll
  llvm/test/Analysis/CostModel/RISCV/fixed-vector-scatter.ll
  llvm/test/Transforms/LoopVectorize/RISCV/masked_gather_scatter.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99142.333037.patch
Type: text/x-patch
Size: 45115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210324/d2d43630/attachment.bin>


More information about the llvm-commits mailing list