[Mlir-commits] [mlir] [mlir][EmitC] Add pass that combines all available emitc conversions (PR #117549)

Mehdi Amini llvmlistbot at llvm.org
Wed Apr 30 05:41:22 PDT 2025


================
@@ -22,6 +23,30 @@
 
 using namespace mlir;
 
+namespace {
+/// Implement the interface to convert Arith to EmitC.
+struct ArithToEmitCDialectInterface : public ConvertToEmitCPatternInterface {
+  using ConvertToEmitCPatternInterface::ConvertToEmitCPatternInterface;
+  void loadDependentDialects(MLIRContext *context) const final {
+    context->loadDialect<emitc::EmitCDialect>();
----------------
joker-eph wrote:

Ping on this? Shall we remove this method?

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


More information about the Mlir-commits mailing list