[all-commits] [llvm/llvm-project] e43d64: [RISCV] Sink vp.splat operands of VP intrinsic. (#...

MingYan via All-commits all-commits at lists.llvm.org
Sun Apr 27 00:43:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e43d64ebe92ed0f61d6ba70d83eb9fc25b717548
      https://github.com/llvm/llvm-project/commit/e43d64ebe92ed0f61d6ba70d83eb9fc25b717548
  Author: MingYan <99472920+NexMing at users.noreply.github.com>
  Date:   2025-04-27 (Sun, 27 Apr 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll

  Log Message:
  -----------
  [RISCV] Sink vp.splat operands of VP intrinsic. (#133245)

This patch introduces a `vp.splat` matching method for VP support by
sinking the `vp.splat` operand of VP operations back into the same basic
block as the VP operation, facilitating the generation of .vx
instructions to reduce vector register pressure.

---------

Co-authored-by: yanming <ming.yan at terapines.com>



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