[PATCH] D156249: [RISCV] Implement getOptimalMemOpType for memcpy/memset lowering

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 13:46:15 PDT 2023


craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:17018
+  }
+  // We use LMUL1 memory operations here for a non-obvious reason.  Our caller
+  // has an expansion threshold, and we want the number of hardware memory
----------------
Did you mean to repeat this comment block from earlier?


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

https://reviews.llvm.org/D156249



More information about the llvm-commits mailing list