[llvm] [SandboxVec][BottomUpVec] Implement pack of scalars (PR #115549)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 20:48:06 PST 2024


================
@@ -31,7 +31,8 @@ class BottomUpVec final : public FunctionPass {
   /// \p Bndl. \p Operands are the already vectorized operands.
   Value *createVectorInstr(ArrayRef<Value *> Bndl, ArrayRef<Value *> Operands);
   void tryEraseDeadInstrs();
-  Value *vectorizeRec(ArrayRef<Value *> Bndl);
+  Value *createPack(ArrayRef<Value *> ToPack);
+  Value *vectorizeRec(ArrayRef<Value *> Bndl, unsigned Depth);
   bool tryVectorize(ArrayRef<Value *> Seeds);
 
   // The PM containing the pipeline of region passes.
----------------
vporpo wrote:

Done.

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


More information about the llvm-commits mailing list