[all-commits] [llvm/llvm-project] abf041: [RISCV] Merge vmerge.vvm and unmasked intrinsic wi...

Yeting Kuo via All-commits all-commits at lists.llvm.org
Sun Aug 28 20:45:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abf04163282125b50ee004409b07794642f0f366
      https://github.com/llvm/llvm-project/commit/abf04163282125b50ee004409b07794642f0f366
  Author: Yeting Kuo <yeting.kuo at sifive.com>
  Date:   2022-08-29 (Mon, 29 Aug 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
    M llvm/test/CodeGen/RISCV/rvv/vpmerge-sdnode.ll

  Log Message:
  -----------
  [RISCV] Merge vmerge.vvm and unmasked intrinsic with VLMAX vector length.

The motivation of this patch is to lower the IR pattern
(vp.merge mask, (add x, y), false, vl) to
(PseudoVADD_VV_<LMUL>_MASK false, x, y, mask, vl).

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D131841




More information about the All-commits mailing list