Skip to content

[Feature][IR][Dataflow] Keep meta_if / meta_else in IR to preserve 'singel df.kernel' program structure #523

@Fangtangtang

Description

@Fangtangtang

Motivation and Expected Behavior

This is a pre-task for #510.

Currently, Allo dataflow IR creates multiple code variants after lowering meta_if / meta_elif / meta_else. However, Shardy enforces a strict SPMD model. Directly lowering meta control flow in Allo IR before integrating Shardy would break this, leading to compatibility issues.
To integrate Shardy into Allo dataflow, we need to preserve meta control flow in the IR first.

We may introduce new MLIR operations in Allo to support meta control flow.

Related resources

related dialects:

Pinned by Fangtangtang

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions