[all-commits] [llvm/llvm-project] 5e31d4: [RISCV][VLOPT] Support v[f]slide1up.v{x, f} (#146716)

Luke Lau via All-commits all-commits at lists.llvm.org
Wed Jul 2 16:11:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e31d4cdf2f53c98a705df91d386d315f9332b99
      https://github.com/llvm/llvm-project/commit/5e31d4cdf2f53c98a705df91d386d315f9332b99
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
    M llvm/test/CodeGen/RISCV/rvv/vl-opt-instrs.ll

  Log Message:
  -----------
  [RISCV][VLOPT] Support v[f]slide1up.v{x,f} (#146716)

Similarly to #146710, for vslide1ups vl only determines the destination
elements written to so we can safely reduce their AVL.

We cannot do this for vslide1downs as the vl determines which lane the
new element is to be inserted in, so some negative tests have been
added.



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