[all-commits] [llvm/llvm-project] ca0cd6: [RISCV] Improve SK_Reverse shuffle costs for fixed...
Philip Reames via All-commits
all-commits at lists.llvm.org
Mon Mar 13 15:18:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ca0cd670dcf13c152db0a69ef14037ff19be9b29
https://github.com/llvm/llvm-project/commit/ca0cd670dcf13c152db0a69ef14037ff19be9b29
Author: Philip Reames <preames at rivosinc.com>
Date: 2023-03-13 (Mon, 13 Mar 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/RISCV/shuffle-reverse.ll
Log Message:
-----------
[RISCV] Improve SK_Reverse shuffle costs for fixed length vectors
As noted by @luke (https://reviews.llvm.org/D145953#inline-1409312), we were accounting for the cost of vector element size using vlenb whereas the expression can be constant folded for fixed length vectors.
Differential Revision: https://reviews.llvm.org/D145973
More information about the All-commits
mailing list