[llvm] [SLP] More accurately cost RISCV scalar splats (PR #213104)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 06:06:41 PDT 2026


================
@@ -21664,7 +21713,8 @@ class BoUpSLP::ShuffleInstructionBuilder final : public BaseShuffleAnalysis {
       ArrayRef<int> SubVectorsMask, unsigned VF = 0,
       function_ref<void(Value *&, SmallVectorImpl<int> &,
                         function_ref<Value *(Value *, Value *, ArrayRef<int>)>)>
-          Action = {}) {
+          Action = {},
+      TTI::VectorInstrContext = TTI::VectorInstrContext::None) {
----------------
alexey-bataev wrote:

Dead parameter?

https://github.com/llvm/llvm-project/pull/213104


More information about the llvm-commits mailing list