[llvm] [mlir] [mlir][EmitC] Add Arith to EmitC conversions (PR #84151)

Simon Camphausen via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 08:15:36 PST 2024


================
@@ -133,6 +133,15 @@ def ArithToAMDGPUConversionPass : Pass<"convert-arith-to-amdgpu"> {
   ];
 }
 
+//===----------------------------------------------------------------------===//
+// ArithToEmitC
+//===----------------------------------------------------------------------===//
+
+def ConvertArithToEmitC : Pass<"convert-arith-to-emitc", "ModuleOp"> {
----------------
simon-camp wrote:

Is the `ModuleOp` necessary here?

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


More information about the llvm-commits mailing list