[all-commits] [llvm/llvm-project] 26593e: [SelectionDAG] Support more VP reduction mask oper...

Jianjian Guan via All-commits all-commits at lists.llvm.org
Tue May 17 02:15:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26593e73147d5d66d87ad1a69faeaad6776b8d1d
      https://github.com/llvm/llvm-project/commit/26593e73147d5d66d87ad1a69faeaad6776b8d1d
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-05-17 (Tue, 17 May 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-mask-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vreductions-mask-vp.ll

  Log Message:
  -----------
  [SelectionDAG] Support more VP reduction mask operation.

This patch uses VP_REDUCE_AND and VP_REDUCE_OR to replace VP_REDUCE_SMAX,VP_REDUCE_SMIN,VP_REDUCE_UMAX and VP_REDUCE_UMIN for mask vector type.

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




More information about the All-commits mailing list