[code-reflection] Integrated: ModuleOp generation from LambdaOp and FuncOp

Ruby Chen duke at openjdk.org
Fri Dec 19 22:00:56 UTC 2025


On Fri, 21 Nov 2025 00:20:24 GMT, Ruby Chen <duke at openjdk.org> wrote:

> Add support for generating a ModuleOp from either a LambdaOp or a FuncOp. The given LambdaOp will be converted into the root FuncOp, and the given FuncOp will be assigned as the root FuncOp.
> 
> For `CoreOp.ModuleOp.ofLambdaOp()`, a unique name for the new root FuncOp must be passed as a parameter.

This pull request has now been integrated.

Changeset: 4fa1d641
Author:    Ruby Chen <ruby.r.chen at gmail.com>
Committer: Paul Sandoz <psandoz at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/4fa1d641e9393edbd815655d0e2965a3351e4065
Stats:     298 lines in 4 files changed: 294 ins; 3 del; 1 mod

ModuleOp generation from LambdaOp and FuncOp

Reviewed-by: psandoz

-------------

PR: https://git.openjdk.org/babylon/pull/691


More information about the babylon-dev mailing list