[llvm] [SandboxVec][BottomUpVec] Generate vector instructions (PR #115087)

Jorge Gorbe Moya via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 15:48:57 PST 2024


================
@@ -25,7 +25,9 @@ namespace llvm::sandboxir {
 class BottomUpVec final : public FunctionPass {
   bool Change = false;
   std::unique_ptr<LegalityAnalysis> Legality;
-  void vectorizeRec(ArrayRef<Value *> Bndl);
+
+  Value *createVectorInstr(ArrayRef<Value *> Bndl, ArrayRef<Value *> Operands);
----------------
slackito wrote:

A one-line comment explaining what the arguments mean would be nice.

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


More information about the llvm-commits mailing list