[all-commits] [llvm/llvm-project] c1695d: [RISCV] Support fixed-length INSERT_VECTOR_ELT

Fraser Cormack via All-commits all-commits at lists.llvm.org
Tue Mar 2 08:55:20 PST 2021


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

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

  Log Message:
  -----------
  [RISCV] Support fixed-length INSERT_VECTOR_ELT

This patch enables support for lowering INSERT_VECTOR_ELT on
fixed-length vector types. The strategy follows that for scalable vector
types.

This patch also includes a quick fix to prevent the compiler infinitely
looping between lowering BUILD_VECTOR as VECTOR_SHUFFLE and back again.

Reviewed By: craig.topper

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




More information about the All-commits mailing list