[all-commits] [llvm/llvm-project] b61cfc: [RISCV] Add cost modelling for vector widenning re...
Jianjian Guan via All-commits
all-commits at lists.llvm.org
Thu Aug 4 00:32:13 PDT 2022
Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
Date: 2022-08-04 (Thu, 04 Aug 2022)
[RISCV] Add cost modelling for vector widenning reduction.
In RVV, we use vwredsum.vs and vwredsumu.vs for vecreduce.add(ext(Ty A)) if the result type's width is twice of the input vector's SEW-width. In this situation, the cost of extended add reduction should be same as single-width add reduction. So as the vector float widenning reduction.
Differential Revision: https://reviews.llvm.org/D129994
More information about the All-commits