[all-commits] [llvm/llvm-project] 041d18: [RISCV][TTI] Adjust costing in getPartialReduction...
Philip Reames via All-commits
all-commits at lists.llvm.org
Mon May 26 08:24:17 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 041d189f01f5c4587470441d840f7ad00ba5f4bf
https://github.com/llvm/llvm-project/commit/041d189f01f5c4587470441d840f7ad00ba5f4bf
Author: Philip Reames <preames at rivosinc.com>
Date: 2025-05-26 (Mon, 26 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Transforms/LoopVectorize/RISCV/partial-reduce-dot-product.ll
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list