[Mlir-commits] [mlir] [mlir][EmitC] Create a pass to add a reflection map to a class (PR #205464)

ioana ghiban llvmlistbot at llvm.org
Thu Jun 25 04:56:29 PDT 2026


================
@@ -0,0 +1,58 @@
+// RUN: mlir-opt -split-input-file --add-reflection-map="field-attr-name=emitc.field_ref excluded-field-attrs="emitc.other_field"" %s | FileCheck %s
+
+
+// Tests that a reflection map is created for fields with a certain attribute.
----------------
ioghiban wrote:

[nit]: Usually, doc comments in tests are visually distinguished from `FileCheck` directives by using three slashes instead of two.

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


More information about the Mlir-commits mailing list