[all-commits] [llvm/llvm-project] 294efc: [RISCV] Add support for fixed vector masked gather...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Mar 22 10:18:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 294efcd6f7e226013a63aeff6054f7e51909a4b5
      https://github.com/llvm/llvm-project/commit/294efcd6f7e226013a63aeff6054f7e51909a4b5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-scatter.ll

  Log Message:
  -----------
  [RISCV] Add support for fixed vector masked gather/scatter.

I've split the gather/scatter custom handler to avoid complicating
it with even more differences between gather/scatter.

Tests are the scalable vector tests with the vscale removed and
dropped the tests that used vector.insert. We're probably not
as thorough on the splitting cases since we use 128 for VLEN here
but scalable vector use a known min size of 64.

Reviewed By: frasercrmck

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




More information about the All-commits mailing list