[all-commits] [llvm/llvm-project] c4825a: [RISCV] Model Zvzip VPAIR shuffle costs (#227177)

renndong via All-commits all-commits at lists.llvm.org
Tue Sep 29 20:26:32 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4825a0b9a57b3016de5f3c82f14c5c17c470b96
      https://github.com/llvm/llvm-project/commit/c4825a0b9a57b3016de5f3c82f14c5c17c470b96
  Author: renndong <liumingliang.dev at bytedance.com>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    A llvm/lib/Target/RISCV/RISCVVectorUtils.h
    M llvm/test/Analysis/CostModel/RISCV/shuffle-transpose.ll

  Log Message:
  -----------
  [RISCV] Model Zvzip VPAIR shuffle costs (#227177)

Model pair-even and pair-odd shuffle costs using vpaire.vv and
vpairo.vv when the Zvzip extension is available.

Add a new file `RISCVVectorUtils.h` to share shuffle-mask
helpers between ISel lowering and TTI. Also move `isPairEven`
and `isPairOdd` into the new file and reuse them in TTI.

This is the second PR split out from #224991.

Assisted-by: TRAE CLI (GPT-5)



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