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

Matthias Gehre llvmlistbot at llvm.org
Mon May 27 01:28:38 PDT 2024


mgehre-amd 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?

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


More information about the Mlir-commits mailing list