[llvm] [SandboxVec] Add pass to create Regions from metadata. Generalize SandboxVec pass pipelines. (PR #112288)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 14 18:07:09 PDT 2024
================
@@ -14,9 +14,19 @@
// NOTE: NO INCLUDE GUARD DESIRED!
#ifndef REGION_PASS
-#define REGION_PASS(NAME, CREATE_PASS)
+#define REGION_PASS(NAME, CLASS_NAME)
#endif
-REGION_PASS("null", NullPass())
+REGION_PASS("null", ::llvm::sandboxir::NullPass)
----------------
vporpo wrote:
Why do we need to specify the namespace `::llvm::sandboxir::` here?
https://github.com/llvm/llvm-project/pull/112288
More information about the llvm-commits
mailing list