[llvm] [SLP][REVEC] Make ShuffleCostEstimator and ShuffleInstructionBuilder can vectorize vector instructions. (PR #99606)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 10:13:17 PDT 2024


================
@@ -8728,6 +8744,15 @@ class BoUpSLP::ShuffleCostEstimator : public BaseShuffleAnalysis {
       }
       return TTI::TCC_Free;
     };
+    auto GetVF = [&](Value *V) {
----------------
alexey-bataev wrote:

Better make it a function and use here and in other places

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


More information about the llvm-commits mailing list