[all-commits] [llvm/llvm-project] cd2761: [RISCV] Remove vp.reverse mask check in performVP_...

Luke Lau via All-commits all-commits at lists.llvm.org
Wed Feb 11 01:14:04 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd2761f7ab71b4c926e4f7d2ee8947db95a43e30
      https://github.com/llvm/llvm-project/commit/cd2761f7ab71b4c926e4f7d2ee8947db95a43e30
  Author: Luke Lau <luke at igalia.com>
  Date:   2026-02-11 (Wed, 11 Feb 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/vp-combine-reverse-load.ll

  Log Message:
  -----------
  [RISCV] Remove vp.reverse mask check in performVP_REVERSECombine (#180724)

Similar to #180706, the masked off lanes in vp.reverse are poison so can
be replaced with anything. Because of this, we should be able to fold a
masked vp.reverse(vp.load) into a vp.strided.load stride=-1 even when
the mask isn't all ones.



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