[llvm] [SLP][NFC] Unify code for cost estimation/codegen for buildvector, NFC. (PR #73182)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 04:21:58 PST 2023


================
@@ -10341,7 +10470,7 @@ class BoUpSLP::ShuffleInstructionBuilder final : public BaseShuffleAnalysis {
       InVectors.push_back(V1);
   }
   /// Adds another one input vector and the mask for the shuffling.
-  void add(Value *V1, ArrayRef<int> Mask) {
+  void add(Value *V1, ArrayRef<int> Mask, bool = false) {
----------------
RKSimon wrote:

What is the point of this bool argument?

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


More information about the llvm-commits mailing list