[Mlir-commits] [mlir] [mlir][emitc] Add a structured for operation (PR #68206)
Marius Brehler
llvmlistbot at llvm.org
Wed Oct 25 07:28:27 PDT 2023
marbre wrote:
> > While this enables for a rather direct mapping from SCF for to EmitC variant, I wonder if it isn't too exact.
>
> [..] So I thought we'd start from mapping the scf::for to emitc and then evolve emitc::for as needed. Does that make sense? [Another way to go incrementally might be to indeed model an initialization, condition and iteration clauses at this stage (e.g. as basic blocks as suggested) but limit them by verification to SCF's needs]
I would agree here. I think starting with this should be fine and we can iterate on it as needed.
https://github.com/llvm/llvm-project/pull/68206
More information about the Mlir-commits
mailing list