[all-commits] [llvm/llvm-project] 4ea734: [RISCV] Unify scalable- and fixed-vector INSERT_SU...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Mon Mar 1 03:45:19 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ea734e6ec9da0587da733424fe616b7e401cf8c
      https://github.com/llvm/llvm-project/commit/4ea734e6ec9da0587da733424fe616b7e401cf8c
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert-subvector.ll

  Log Message:
  -----------
  [RISCV] Unify scalable- and fixed-vector INSERT_SUBVECTOR lowering

This patch unifies the two disparate paths for lowering INSERT_SUBVECTOR
operations under one roof. Consequently, with this patch it is possible to
support any fixed-length subvector insertion, not just "cast-like" ones.

As before, support for the insertion of mask vectors will come in a
separate patch.

Reviewed By: craig.topper

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




More information about the All-commits mailing list