[llvm] [SandboxVec] Add pass to create Regions from metadata. Generalize SandboxVec pass pipelines. (PR #112288)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 15 13:42:23 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:
I don't feel strongly about it, but if it works fine without the qualifiers I would prefer them that way because it's just easier to read.
https://github.com/llvm/llvm-project/pull/112288
More information about the llvm-commits
mailing list