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

Han-Kuan Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 23:28:44 PDT 2024


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

Add a `getVF` member function. (see https://github.com/llvm/llvm-project/pull/99606/commits/c40998e669c009b32147d66c8d7af18be23fd2e4)

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


More information about the llvm-commits mailing list