[PATCH] D94694: [RISCV] Add scalable-vector integer extension patterns

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 12:06:15 PST 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td:312
+// 12.3. Vector Integer Extension
+defm "" : VPatExtendSDNode_V<zext, "PseudoVZEXT", "VF2", AllFractionableVF2IntVectors>;
+defm "" : VPatExtendSDNode_V<sext, "PseudoVSEXT", "VF2", AllFractionableVF2IntVectors>;
----------------
Should we handle any extend as well? Not sure how to test that with scalable vectors though


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94694



More information about the llvm-commits mailing list