[all-commits] [llvm/llvm-project] dc7387: [LV] Adjust cost model to use uniform store loweri...
Philip Reames via All-commits
all-commits at lists.llvm.org
Tue Sep 27 07:29:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc7387b58735166dea4be75c916291fa6f9ce0ad
https://github.com/llvm/llvm-project/commit/dc7387b58735166dea4be75c916291fa6f9ce0ad
Author: Philip Reames <preames at rivosinc.com>
Date: 2022-09-27 (Tue, 27 Sep 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/sve-inv-store.ll
M llvm/test/Transforms/LoopVectorize/RISCV/uniform-load-store.ll
Log Message:
-----------
[LV] Adjust cost model to use uniform store lowering for unpredicated uniform stores
Follow up to D133580; adjust the cost model to prefer uniform store lowering for scalable stores which are unpredicated.
The impact here isn't in the uniform store lowering quality itself. InstCombine happily converts the scatter form into the single store form. The main impact is in letting the rest of the cost model make choices based on the knowledge that the vector will be scalarized on use.
Differential Revision: https://reviews.llvm.org/D134460
More information about the All-commits
mailing list