-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Motivation and Expected Behavior
Currently, meta_for loops are fully unrolled when building IR. We want to preserve meta_for loop structure at the highest-level IR.
This helps:
- simplify builder for meta programming (move the burden to 'lowering' pass)
- allow backends decide if and when
meta_forloops should be unrolled. (e.g., AIE may want to keep loops rolled to reduce code size [IR][AIE] Support rolledmeta_forloops to reduce code size #429) - aligns with the plan to introduce an operation for
meta_if([Feature][IR][Dataflow] Keepmeta_if/meta_elsein IR to preserve 'singel df.kernel' program structure #523)
We plan to introduce a new operation allo.meta_for (following the design of scf.for).
Related resources
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels