[llvm-branch-commits] [llvm] [mlir] [mlir][test] Shard and reorganize the test dialect (PR #89424)

Mehdi Amini via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 19 17:49:39 PDT 2024


================
@@ -228,6 +332,7 @@ void TestDialect::initialize() {
       >();
   registerOpsSyntax();
   addOperations<ManualCppOpWithFold>();
+  registerTestDialectOperations(this);
----------------
joker-eph wrote:

This the actual "magic" right? You're calling into the generated registration method which dispatch to the shards?

What does the:
```
  addOperations<
#define GET_OP_LIST
#include "TestOps.cpp.inc"
       >();
```

still do above?

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


More information about the llvm-branch-commits mailing list