[all-commits] [llvm/llvm-project] ca2c24: [RISCV] Support INSERT_VECTOR_ELT into i1 vectors

Fraser Cormack via All-commits all-commits at lists.llvm.org
Wed May 19 01:50:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca2c245ba4665bde94f8c6319185d1c9ff295167
      https://github.com/llvm/llvm-project/commit/ca2c245ba4665bde94f8c6319185d1c9ff295167
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-05-19 (Wed, 19 May 2021)

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

  Log Message:
  -----------
  [RISCV] Support INSERT_VECTOR_ELT into i1 vectors

Like the element extraction of these vectors, we choose to promote up to
an i8 vector type and perform the insertion there.

Reviewed By: craig.topper

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




More information about the All-commits mailing list