[all-commits] [llvm/llvm-project] a84994: [RISCV] Use TU vmv.v.v instead of vslideup.vi N, M, ...

Luke Lau via All-commits all-commits at lists.llvm.org
Mon Jun 12 13:09:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a84994071c8e59e30933cf1482031856ca4c77d4
      https://github.com/llvm/llvm-project/commit/a84994071c8e59e30933cf1482031856ca4c77d4
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-interleaved-access.ll

  Log Message:
  -----------
  [RISCV] Use TU vmv.v.v instead of vslideup.vi N,M,0 for insert vector_shuffles

This applies the same technique in https://reviews.llvm.org/D152565 to
vslideups when lowering vector_shuffles that have an insert pattern in
their mask.

Reviewed By: reames

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




More information about the All-commits mailing list