This patch adds basic broadcast shuffle costs in order to enable SLP vectorization.
And adds getLMULCost to consider reciprocal throughput for different LMUL.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp | ||
---|---|---|
293 | I think we have some room to improve this codegen, but that's orthogonal to your actual patch. Ideas:
|
I think we have some room to improve this codegen, but that's orthogonal to your actual patch.
Ideas: