[llvm] [SandboxIR] PassManager (PR #107932)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 13:05:01 PDT 2024


================
@@ -0,0 +1,74 @@
+//===- PassManager.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
+//
+//===----------------------------------------------------------------------===//
+//
+// Registers and executes the Sandbox IR passes.
+//
+// The pass manager contains an ordered sequence of passes that it runs in
----------------
vporpo wrote:

I think I will stick with this design for now. Using a PassRegistry.def complicates the design quite a bit and I am not sure it is worth it at this point. We can revisit it later if needed.

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


More information about the llvm-commits mailing list