[all-commits] [llvm/llvm-project] d8800e: [RISCV] Scalarize binop followed by extractelement.

Jianjian Guan via All-commits all-commits at lists.llvm.org
Mon Jul 25 02:23:56 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8800ead629d403a298d32e3b1a7ac4f7aac554a
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract.ll

  Log Message:
  [RISCV] Scalarize binop followed by extractelement.

This patch adds shouldScalarizeBinop to RISCV target in order to convert an extract element of a vector binary operation into an extract element followed by a scalar binary operation.

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

More information about the All-commits mailing list