Skip to content

[Tracking Issue] Refactor AOT executor codegen into IRModule -> IRModule form #12548

@mbaret

Description

@mbaret

The AOT executor codegen has accumulated significant technical debt and dead code during its development, resulting in a component that is difficult to understand, test and extend. Refactoring it will improve code-quality and make it easier to introduce new features to expand the capabilities of AOT code generation.

This refactor aims to observe the following principles:

  • Break the logic into passes with a single responsibility.
  • Introduce tests for the internal logic of AOT (not just end-to-end integration testing).
  • Remove side-channels and reduce the usage of 'magic attributes' to pass information.
  • De-duplicate logic where possible.

PRs

Metadata

Metadata

Assignees

Labels

backend:cexecutor:aotruntime components of AOT flow. src/runtime/aot_executor, src/runtime/crt/aot_executor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions