[all-commits] [llvm/llvm-project] 0e6f0b: [RISCV] Add cost model for fixed broadcast shuffle
Shih-Po Hung via All-commits
all-commits at lists.llvm.org
Wed Nov 30 05:01:08 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e6f0b7cc38391f3365a862266a8aef50d093135
https://github.com/llvm/llvm-project/commit/0e6f0b7cc38391f3365a862266a8aef50d093135
Author: ShihPo Hung <shihpo.hung at sifive.com>
Date: 2022-11-30 (Wed, 30 Nov 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
A llvm/test/Analysis/CostModel/RISCV/fixed-shuffle-broadcast.ll
Log Message:
-----------
[RISCV] Add cost model for fixed broadcast shuffle
This patch adds basic broadcast shuffle costs in order to enable SLP vectorization.
And adds `getLMULCost` to consider reciprocal throughput for different LMUL.
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D137276
More information about the All-commits
mailing list