[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
This commit is contained in:
parent
4272e64acd
commit
84877a098a
|
@ -4541,7 +4541,7 @@ SDValue RISCVTargetLowering::lowerMGATHER(SDValue Op, SelectionDAG &DAG) const {
|
|||
VL = DAG.getRegister(RISCV::X0, XLenVT);
|
||||
|
||||
unsigned IntID =
|
||||
IsUnmasked ? Intrinsic::riscv_vloxei : Intrinsic::riscv_vloxei_mask;
|
||||
IsUnmasked ? Intrinsic::riscv_vluxei : Intrinsic::riscv_vluxei_mask;
|
||||
SmallVector<SDValue, 8> Ops{MGN->getChain(),
|
||||
DAG.getTargetConstant(IntID, DL, XLenVT)};
|
||||
if (!IsUnmasked)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue