[Mlir-commits] [mlir] [mlir][emitc] Lower SCF using memrefs (PR #93371)

Marius Brehler llvmlistbot at llvm.org
Mon May 27 01:31:25 PDT 2024


marbre wrote:

> I'm not so clear about the motivation of this change. From what I understand, SCF lowered correctly to emitc before. The generated C++ code looks different in that we now use arrays with one element instead of scalars to model loop carried values. Why is that better?

I was about to ask the same question. Are there any benefits?

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


More information about the Mlir-commits mailing list