[all-commits] [llvm/llvm-project] 8eb4ad: [RISCV][TTI] Discount slide cost if ri.vinsert/ri....
Philip Reames via All-commits
all-commits at lists.llvm.org
Fri May 30 11:06:49 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8eb4ada181dc80e1c31c30c02e0bed6ca415047b
https://github.com/llvm/llvm-project/commit/8eb4ada181dc80e1c31c30c02e0bed6ca415047b
Author: Philip Reames <preames at rivosinc.com>
Date: 2025-05-30 (Fri, 30 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/RISCV/rvv-extractelement.ll
M llvm/test/Analysis/CostModel/RISCV/rvv-insertelement.ll
Log Message:
-----------
[RISCV][TTI] Discount slide cost if ri.vinsert/ri.vextract are available (#142036)
If we have the ri.vinsert/vextract instructions from xrivosvisni, we can
do an element insert or extract without needing a vslide or a vector
temporary register. Adjust the TTI cost to reflect this.
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