[RISCV] Use unordered indexed loads for MGATHER.
authorCraig Topper <craig.topper@sifive.com>
Tue, 20 Jul 2021 15:32:15 +0000 (08:32 -0700)
committerCraig Topper <craig.topper@sifive.com>
Tue, 20 Jul 2021 15:46:02 +0000 (08:46 -0700)
commit84877a098ab065ca2e3775ea4c69b22cae0403b1
tree719b6a81b739ba0fb275df0204d93a2c18e6c108
parent4272e64acd6cc1abfae45ab3458915f52bd3c4e9
[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
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
llvm/test/CodeGen/RISCV/rvv/mgather-sdnode.ll