[Mlir-commits] [mlir] [mlir][emitc] Update the `WrapFuncInClassPass` pass (PR #179184)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon Feb 2 07:26:21 PST 2026


================
@@ -34,12 +36,11 @@ module attributes { } {
   }
 }
 
-// CHECK: module {
 // CHECK:   emitc.class @modelClass {
 // CHECK:     emitc.field @fieldName0 : !emitc.array<1xf32> {emitc.name_hint = "another_feature"}
 // CHECK:     emitc.field @fieldName1 : !emitc.array<1xf32>  {emitc.name_hint = "some_feature"}
 // CHECK:     emitc.field @fieldName2 : !emitc.array<1xf32>  {emitc.name_hint = "output_0"}
-// CHECK:     emitc.func @execute() {
+// CHECK:     emitc.func @operator() {
----------------
banach-space wrote:

Thanks for checking and for pointing this out! Fixed in https://github.com/llvm/llvm-project/pull/179184/changes/8f3a1070518b404c53a01272a16780594d4a4760 .

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


More information about the Mlir-commits mailing list