Skip to content

[water] Add FX importer handler for wave.shuffle#1062

Merged
martin-luecke merged 4 commits intomainfrom
users/martin/shuffle_conversion
Mar 6, 2026
Merged

[water] Add FX importer handler for wave.shuffle#1062
martin-luecke merged 4 commits intomainfrom
users/martin/shuffle_conversion

Conversation

@martin-luecke
Copy link
Contributor

The water emitter (FX → MLIR) already supports wave.shuffle. This adds the reverse direction (MLIR → FX) via _handle_shuffle_op, completing full roundtrip support for shuffle ops across all four modes.

This is the last missing op for the attention roundtrip — all attention-relevant ops are now handled by the importer. The remaining attention failures are structural comparison issues unrelated to op coverage.

@martin-luecke martin-luecke force-pushed the users/martin/shuffle_conversion branch from 34897f2 to 53d9de5 Compare March 6, 2026 08:00
@martin-luecke martin-luecke requested a review from ftynse March 6, 2026 08:22
Copy link
Contributor

@ftynse ftynse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one minor concern about complexity of testing

@martin-luecke martin-luecke force-pushed the users/martin/attention_op_handlers branch from 6444ba1 to 7a93129 Compare March 6, 2026 17:47
Base automatically changed from users/martin/attention_op_handlers to main March 6, 2026 18:43
Signed-off-by: Martin Lücke <martin.luecke@amd.com>
Signed-off-by: Martin Lücke <martin.luecke@amd.com>
Signed-off-by: Martin Lücke <martin.luecke@amd.com>
@martin-luecke martin-luecke force-pushed the users/martin/shuffle_conversion branch from 0884da5 to b614492 Compare March 6, 2026 18:52
Signed-off-by: Martin Lücke <martin.luecke@amd.com>
@martin-luecke martin-luecke merged commit 605d45e into main Mar 6, 2026
17 checks passed
@martin-luecke martin-luecke deleted the users/martin/shuffle_conversion branch March 6, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants