[PATCH] D135794: [RISCV] Use vslide1up for inserting bottom element into splat vector

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 12 14:14:46 PDT 2022


reames added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:9735
+    // mismatch.  Can also allow a source vector with a larger VL.
+    if (SrcVec.getOpcode() == RISCVISD::VMV_V_X_VL &&
+        SrcVec.getSimpleValueType() == VT && SrcVec.getOperand(2) == VL) {
----------------
Noticed when glancing through other code that I hadn't handled the vmv.v.i case here.  Consider that added to the todo list above.  


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135794



More information about the llvm-commits mailing list