[PATCH] D121447: [RISCV] Add basic code modeling for fixed length vector reduction.

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 00:53:05 PST 2022


fakepaper56 created this revision.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
Herald added a project: All.
fakepaper56 requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121447

Files:
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
  llvm/test/Analysis/CostModel/RISCV/reduce-add.ll
  llvm/test/Analysis/CostModel/RISCV/reduce-and.ll
  llvm/test/Analysis/CostModel/RISCV/reduce-fadd.ll
  llvm/test/Analysis/CostModel/RISCV/reduce-max.ll
  llvm/test/Analysis/CostModel/RISCV/reduce-min.ll
  llvm/test/Analysis/CostModel/RISCV/reduce-or.ll
  llvm/test/Analysis/CostModel/RISCV/reduce-xor.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121447.414609.patch
Type: text/x-patch
Size: 135382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220311/fdb2f2a3/attachment-0001.bin>


More information about the llvm-commits mailing list