llvm-project
041d189f - [RISCV][TTI] Adjust costing in getPartialReductionCost for zvqdotq (#141430)

Commit
126 days ago
[RISCV][TTI] Adjust costing in getPartialReductionCost for zvqdotq (#141430) Two changes: 1) Handle fixed vector cases now that 77a3f8 has landed. 2) Fix a mistake in the original costing - the VF passed in is the input VF, not the output VF. Given that we should be costing the accumulator type with VF/4. Note that (2) does not cause any visible test differences as the vectorizer (outside of maximize-bandwidth mode) does not consider wide enough VF for the costing difference to matter.
Author
Parents
Loading