[all-commits] [llvm/llvm-project] 514b38: [RISCV] Remove mask size restriction on single sou...
Philip Reames via All-commits
all-commits at lists.llvm.org
Wed Aug 23 14:43:35 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 514b38cd7e5ad3969e5d2c7c15a70cd2bf6a6553
https://github.com/llvm/llvm-project/commit/514b38cd7e5ad3969e5d2c7c15a70cd2bf6a6553
Author: Philip Reames <preames at rivosinc.com>
Date: 2023-08-23 (Wed, 23 Aug 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
Log Message:
-----------
[RISCV] Remove mask size restriction on single source and dual src shuffle costing (try 2)
Some callers pass in an empty mask to represent "unknown". We should use the generic costs for these cases. We can add VL=1 costing seperately if desired.
Reapplying after revert. A new test had been added, and I'd missed updating it when rebasing before. This is a great happy accident as I hadn't figured out how to get SLP to exercise this case, I'd merely noticed it via inspection.
More information about the All-commits
mailing list