[all-commits] [llvm/llvm-project] d10079: [RISCV] Reduce the VL of both operands in VMERGE_V...
Min-Yih Hsu via All-commits
all-commits at lists.llvm.org
Wed Jun 18 14:24:12 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d10079e305acae58b44dc773cb94f7127de197ef
https://github.com/llvm/llvm-project/commit/d10079e305acae58b44dc773cb94f7127de197ef
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2025-06-18 (Wed, 18 Jun 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
M llvm/test/CodeGen/RISCV/rvv/masked-load-int.ll
M llvm/test/CodeGen/RISCV/rvv/vl-opt-instrs.ll
Log Message:
-----------
[RISCV] Reduce the VL of both operands in VMERGE_VVM (#144759)
The `tryToReduceVL` function in RISCVVectorPeephole currently only
reduces the VL of the instruction that defines the true operand in
VMERGE_VVM. We should be able to reduce VL of both operands. This patch
generalizes this function to support multiple operands from a single
instruction.
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