[all-commits] [llvm/llvm-project] 159599: [RISCV] Add legality check for vectorizing reduction

Luke via All-commits all-commits at lists.llvm.org
Thu May 20 02:46:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1595994b2825a396f650dd8dab8c72a3d71cbc8e
      https://github.com/llvm/llvm-project/commit/1595994b2825a396f650dd8dab8c72a3d71cbc8e
  Author: Luke <luke957 at foxmail.com>
  Date:   2021-05-20 (Thu, 20 May 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
    A llvm/test/Transforms/LoopVectorize/RISCV/scalable-reductions.ll

  Log Message:
  -----------
  [RISCV] Add legality check for vectorizing reduction

Check if it is legal to vectorize reduction.

Reviewed By: frasercrmck

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




More information about the All-commits mailing list