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

Ruby Chen duke at openjdk.org
Fri Nov 21 00:26:27 UTC 2025


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.

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

Commit messages:
 - ModuleOp generation from LambdaOp and FuncOp

Changes: https://git.openjdk.org/babylon/pull/691/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=691&range=00
  Stats: 83 lines in 1 file changed: 83 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/babylon/pull/691.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/691/head:pull/691

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


More information about the babylon-dev mailing list