================ @@ -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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits