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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 17 11:59:43 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);
----------------
fhahn wrote:

All those should be documented?

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


More information about the llvm-commits mailing list