[PATCH] D146747: [RISCV] Model select and insertsubvector shuffle kinds

ShihPo Hung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 23:17:17 PDT 2023


arcbbb added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:299
+    // vslideup.vi  v8, v9, 2
+    return LT.first * getLMULCost(LT.second);
+  case TTI::SK_Select: {
----------------
Thanks for implementing this!
I have a question: LT is from Tp, is it supposed to use SubTp instead of Tp here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146747



More information about the llvm-commits mailing list