[PATCH] D107210: [RISCV] Support interleaved load lowering

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 30 21:36:33 PDT 2021


craig.topper added a comment.

Don't you need to add the InterleavedAccess pass to RISCVTargetMachine?



================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:996
+  Type *Tys[2] = {FVTy, PtrTy};
+  static const Intrinsic::ID LoadInts[3] = {Intrinsic::riscv_vlseg2,
+                                            Intrinsic::riscv_vlseg3,
----------------
These intrinsics only have SelectionDAG support for scalable vector types. And they take VL as an operand.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107210/new/

https://reviews.llvm.org/D107210



More information about the llvm-commits mailing list