[all-commits] [llvm/llvm-project] 9e62c9: [RISCV] Initial support for insert/extract subvector

ShihPo Hung via All-commits all-commits at lists.llvm.org
Thu Feb 11 14:36:19 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e62c9146d2c125a1abda594add70ed66008e372
      https://github.com/llvm/llvm-project/commit/9e62c9146d2c125a1abda594add70ed66008e372
  Author: ShihPo Hung <shihpo.hung at sifive.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll

  Log Message:
  -----------
  [RISCV] Initial support for insert/extract subvector

This patch handles cast-like insert_subvector & extract_subvector
in which case:
1. index starts from 0.
2. inserting a fixed-width vector into a scalable vector,
   or extracting a fixed-width vector from a scalable vector.

Reviewed By: craig.topper, frasercrmck

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




More information about the All-commits mailing list