[all-commits] [llvm/llvm-project] 821f8b: [RISCV] Unify scalable- and fixed-vector EXTRACT_S...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Thu Feb 25 03:53:42 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 821f8bb29a8967fc1dc6520fda4a2b94b9c7ea0d
      https://github.com/llvm/llvm-project/commit/821f8bb29a8967fc1dc6520fda4a2b94b9c7ea0d
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-02-25 (Thu, 25 Feb 2021)

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

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

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

Reviewed By: craig.topper

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




More information about the All-commits mailing list