[Mlir-commits] [mlir] [mlir][EmitC] Create a pass to add a reflection map to a class (PR #205464)
ioana ghiban
llvmlistbot at llvm.org
Tue Jul 14 02:35:36 PDT 2026
================
@@ -55,4 +56,73 @@ emitc.class @actionClass {
// CHECK-NEXT: %{{.*}} = get_field @fieldName0 : !emitc.array<1xf32>
// CHECK-NEXT: return
// CHECK-NEXT: }
+// CHECK-NEXT: }
+
+// -----
+
+/// Test that the pass leaves IR unchanged if fields don't have any attributes
----------------
ioghiban wrote:
[nit]: This comment implies that the pass is still applied, but in a different way. Is that the case? Or the pass bails out aka - never applied
https://github.com/llvm/llvm-project/pull/205464
More information about the Mlir-commits
mailing list