[llvm] [SLP]Add cost estimation for gather node reshuffling (PR #115201)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 05:23:32 PST 2024


================
@@ -10296,10 +10296,10 @@ class BoUpSLP::ShuffleCostEstimator : public BaseShuffleAnalysis {
             Idx = EMask[Idx];
         }
         CommonVF = E->Scalars.size();
-      } else if (std::optional<unsigned> Factor = E->getInterleaveFactor();
----------------
RKSimon wrote:

Remove the useless std::optional as a pre-commit

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


More information about the llvm-commits mailing list