Simon Camphausen
Simon Camphausen
Short update: This is caused by aliasing of ref variables in the EmitC conversion. My current work is [here](https://github.com/simon-camp/iree/tree/issue-10000). Now [this test function](https://github.com/iree-org/iree/blob/fe0e4dd033959a55ee5e3a353d127a7232e4713e/runtime/src/iree/vm/test/control_flow_ops.mlir#L167) gets miscompiled by the EmitC conversion as...
@hcindyl This should be fixed with #10094. I only tested this on the [static library sample](https://github.com/iree-org/iree/tree/main/samples/static_library) altered for the [MNIST model](https://github.com/iree-org/iree/blob/main/samples/models/mnist.mlir) though.
Breaking EmitC change (merged in 6ca0613) https://github.com/llvm/llvm-project/commit/e47b507562624bf291ab2515699d39c2669b6131 is a breaking change in the EmitC dialect. https://github.com/iree-org/iree/pull/18284 should have all the changes needed in iree.