Update mlir-air/aie and port annotation-based transform scripts#13
Merged
Conversation
Update mlir-air to 4ef22a2 and mlir-aie to c5d4befd to pick up transform dialect improvements from PRs #1344, #1347, #1349, #1352, #1358: - Replace fragile split_handle patterns with annotation-based matching in matmul scripts (copy_a_loop, copy_b_loop, k_reduction_loop, compute_forall, matmul_compute, init_fill, prologue/epilogue_forall/herd annotations) - Use consolidated 2-arg hoist_loop_invariant_transfers (scope_op, loop_op) with auto-discovery, eliminating 8-way read + 4-way write split_handle - Port softmax data-flow navigation from linalg.reduce anchors (PR #1358) - Port layernorm data-flow navigation from linalg.reduce anchors (PR #1358) - Update driver.py fallback script from PDL wrapper to named_sequence - All scripts use transform.readonly entry point Tested: 4/4 examples pass on Strix AIE2P hardware (matmul, softmax, layernorm, vec-add). split_handle count reduced from 39 to 33 (remaining are stable post-fusion patterns matching mlir-air reference scripts). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
4ef22a2(PRs #1344, #1347, #1349, #1352, #1358) and mlir-aie toc5d4befdsplit_handlepatterns with annotation-based matching in matmul scriptshoist_loop_invariant_transferswith auto-discovery of loop-invariant transfer pairslinalg.reduceanchorsdriver.pyfallback script from PDL tonamed_sequence/!transform.any_opTest plan
🤖 Generated with Claude Code