[Mlir-commits] [mlir] [MLGO][EmitC] Scalarize single-element tensor returns (PR #199686)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Fri Jun 12 07:35:40 PDT 2026
================
----------------
banach-space wrote:
I don't have enough context to advice wether the `FuncOp` requires more restrictions (IMO, yes), but the code added here is correct. @ioghiban , perhaps add a comment saying something along the lines of:
> While FuncOp is guaranteed to contain terminator Ops, there is no guarantee that it will contain ReturnOp(s). Hence the chec.
WDYT?
https://github.com/llvm/llvm-project/pull/199686
More information about the Mlir-commits
mailing list