[PATCH] D152553: [RISCV] Use tail undisturbed vmv.v.v instead of vadd.vi with 0 for vp.merge with all ones mask.

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 11 01:57:16 PDT 2023


luke added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp:3413
+bool RISCVDAGToDAGISel::performVMergeToVMv(SDNode *N) {
+#define CASE_VMERGE_TO_VADD(lmul)                                              \
+  case RISCV::PseudoVMERGE_VVM_##lmul##_TU:                                    \
----------------
Nit: should this be CASE_VMERGE_TO_VMV


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152553



More information about the llvm-commits mailing list