[all-commits] [llvm/llvm-project] d95513: [RISCV] remove useless code

LiqinWeng via All-commits all-commits at lists.llvm.org
Mon May 16 05:55:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d95513ae3a73388cbe18fa1bd2c76fec70f3ec06
      https://github.com/llvm/llvm-project/commit/d95513ae3a73388cbe18fa1bd2c76fec70f3ec06
  Author: Liqin.Weng <Liqin.Weng at streamcomputing.com>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h

  Log Message:
  -----------
  [RISCV] remove useless code

When legality check for vectoring reduction, hasVInstructions() check be unneeded. RISCV can only loop vectorization with hasVInstructions()

Reviewed By: kito-cheng, craig.topper

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




More information about the All-commits mailing list