[all-commits] [llvm/llvm-project] 84877a: [RISCV] Use unordered indexed loads for MGATHER.

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Jul 20 08:46:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84877a098ab065ca2e3775ea4c69b22cae0403b1
      https://github.com/llvm/llvm-project/commit/84877a098ab065ca2e3775ea4c69b22cae0403b1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-07-20 (Tue, 20 Jul 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
    M llvm/test/CodeGen/RISCV/rvv/mgather-sdnode.ll

  Log Message:
  -----------
  [RISCV] Use unordered indexed loads for MGATHER.

I don't think the semantics of the llvm masked gather intrinsic care
about the order the elements are loaded. For example, type legalization
by splitting will chain them in parallel. This is different than
scatter which we do chain in order.

Reviewed By: frasercrmck

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




More information about the All-commits mailing list