[PATCH] D119316: [RISCV] Add a really basic cost model for SK_Splice.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 9 04:05:05 PST 2022


ABataev added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:168
+
+  unsigned Cost = 2; // vslidedown+vslideup.
+  // TODO: LMUL should increase cost.
----------------
Shall we include the cost of extra calculations for slidedown+slideup offsets?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119316



More information about the llvm-commits mailing list