Skip to content

Commit 17c6318

Browse files
committed
remove wrong field
1 parent 1a4b8b9 commit 17c6318

File tree

1 file changed

+1
-1
lines changed
  • mlir/include/mlir/Dialect/EmitC/Transforms

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/EmitC/Transforms/Passes.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def AddReflectionMapPass : Pass<"add-reflection-map", "ModuleOp"> {
7979
emitc.class @MyClass {
8080
emitc.field @fieldName0 : !emitc.array<1xf32> {emitc.field_ref = ["another_feature"]}
8181
emitc.field @fieldName1 : !emitc.array<1xf32> {emitc.field_ref = ["some_feature"]}
82-
emitc.field @reflectionMap : !emitc.opaque<"const std::map<std::string, char*>"> = #emitc.opaque<"{ { \22another_feature\22, reinterpret_cast<char*>(&fieldName0) }, { \22some_feature\22, reinterpret_cast<char*>(&fieldName1) }, { \22output_0\22, reinterpret_cast<char*>(&fieldName2) } }">
82+
emitc.field @reflectionMap : !emitc.opaque<"const std::map<std::string, char*>"> = #emitc.opaque<"{ { \22another_feature\22, reinterpret_cast<char*>(&fieldName0) }, { \22some_feature\22, reinterpret_cast<char*>(&fieldName1) } }">
8383
emitc.func @execute() { ... }
8484
}
8585
```

0 commit comments

Comments
 (0)