[Mlir-commits] [mlir] [mlir][emitc] Add 'emitc.switch' op to the dialect (PR #102331)

Gil Rapaport llvmlistbot at llvm.org
Thu Aug 8 09:29:45 PDT 2024


aniragil wrote:

>     * Conversion from the SCF dialect to the EmitC dialect will be supported after the approvement this/adjusted version of the `emitc::SwitchOp` op

Any reason why lowering from `scf.index_switch` isn't part of this PR (as done for `emitc.if` and `emitc.for`)?
Without it, the op is dead upstream (i.e. not reachable from any higher dialect). In addition, we can't validate that its functionality & implementation fit its upstream-designated purpose, which is to be the lowering of `scf.index_switch`.

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


More information about the Mlir-commits mailing list