[all-commits] [llvm/llvm-project] 6ee48f: [RISCV] Remove VL != 1 restriction in RISCVVLOptim...

Luke Lau via All-commits all-commits at lists.llvm.org
Tue Mar 3 03:14:34 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ee48f2ce747c4c9a5371a5746176fd52373de96
      https://github.com/llvm/llvm-project/commit/6ee48f2ce747c4c9a5371a5746176fd52373de96
  Author: Luke Lau <luke at igalia.com>
  Date:   2026-03-03 (Tue, 03 Mar 2026)

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

  Log Message:
  -----------
  [RISCV] Remove VL != 1 restriction in RISCVVLOptimizer (#184298)

This was added way back in #112228 when the VLs were reduced in-situ,
and returning false in isSupportedInstr could trim the number of
instructions processed.

However after #124530 the demanded VLs are all computed beforehand as an
analysis so this is no longer an optimization.

This also removes the diff in rvv-peephole-vmerge-vops.ll in #184297



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