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

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 20:48:01 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);
----------------
vporpo wrote:

Thanks for the comment @fhahn, yeah you are right. I added a comment for each one of them and pushed the patch: ff9509e7d8ffac11ec25cea6c0dd7783097d3181

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


More information about the llvm-commits mailing list