[llvm] [RISCV][CostModel] Updates reduction and shuffle cost (PR #77342)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 30 07:17:09 PST 2024
================
@@ -482,11 +481,10 @@ InstructionCost RISCVTTIImpl::getShuffleCost(TTI::ShuffleKind Kind,
// vmsne.vi v0, v8, 0
----------------
preames wrote:
Unrelated codegen opportunity
vmv.x.s a0, v8
andi a0, a0, 1
vmv.v.x v8, a0
Could be a vrgather.vi
https://github.com/llvm/llvm-project/pull/77342
More information about the llvm-commits
mailing list