[llvm] [SandboxVec] Move seed collection into its own separate pass (PR #127132)

via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 14 18:04:13 PST 2025


================
@@ -0,0 +1,36 @@
+//===- SeedCollection.h -----------------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// The seed-collection pass of the bottom-up vectorizer.
+//
+
+#ifndef LLVM_TRANSFORMS_VECTORIZE_SANDBOXVECTORIZER_PASSES_SEEDCOLLECTION_H
+#define LLVM_TRANSFORMS_VECTORIZE_SANDBOXVECTORIZER_PASSES_SEEDCOLLECTION_H
+
+#include "llvm/SandboxIR/Pass.h"
+#include "llvm/SandboxIR/PassManager.h"
+
+namespace llvm::sandboxir {
+
+class SeedCollection final : public FunctionPass {
----------------
vporpo wrote:

Oops I pushed it to the wrong branch...

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


More information about the llvm-commits mailing list