[Mlir-commits] [mlir] [mlir][emitc][cf] add 'cf.switch' support in CppEmitter (PR #101478)

Gil Rapaport llvmlistbot at llvm.org
Mon Aug 5 01:33:43 PDT 2024


aniragil wrote:

> Should I close the PR and start the issue for `emitc.switch` op?

I'd separate between these issues:

- There seems to be a consensus that an `emitc.switch` op with lowering from `scf.index_switch` would be a good addition to EmitC in and of itself, so would be great if you'd upload such a patch.

- This PR started a good discussion regarding what to do with the `cf` dialect and provides an implementation for one of the alternatives, so would be good to keep around for further discussion.

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


More information about the Mlir-commits mailing list