[Mlir-commits] [mlir] [mlir][emitc] Add 'emitc.switch' op to the dialect (PR #102331)
Andrey Timonin
llvmlistbot at llvm.org
Thu Aug 8 10:23:34 PDT 2024
EtoAndruwa 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`.
Hello! The reason why the conversion is not a part of this PR is that we wanted to get feedback on the implementation of the op as quickly as possible and make adjustments. Conversion **will be added** after the op's implementation is approved. It will be included as part of this PR.
https://github.com/llvm/llvm-project/pull/102331
More information about the Mlir-commits
mailing list