Repository navigation
feat: expose affine emitter controls - #1332
Merged
Merged
Conversation
godofecht
force-pushed
the
codex/affine-emitter-cli
branch
11 times, most recently
from
October 4, 2026 18:34
d7707c6 to
cc92081
Compare
This was referenced Oct 5, 2026
godofecht
force-pushed
the
codex/affine-emitter-cli
branch
from
October 5, 2026 11:18
cc92081 to
923de7e
Compare
Forward --affine, --tile-size, and --tile-l2-size from flow mlir to flow-to-mlir, reject out-of-range tiles before emission, and keep command-line values ahead of inherited FLOWC_MLIR_* environment variables. Document the flags and cover the user-facing path. Co-authored-by: Abhishek Shivakumar <[email protected]>
cursor
Bot
force-pushed
the
codex/affine-emitter-cli
branch
from
October 5, 2026 11:43
923de7e to
252b085
Compare
flow mlir requires the program first and still checks for mlir-opt before emission. Prove the new flags are parsed, and keep the end-to-end IR check for runners that have the tools. Co-authored-by: Abhishek Shivakumar <[email protected]>
This was referenced Oct 5, 2026
tools/flow_cli/mlir_tools.flow: kept main's --register-tile-intrinsics, --aosoa-bank-count and --aosoa-swizzle-width flags (and its parse_bounded_decimal helper) next to this branch's --affine, --tile-size and --tile-l2-size; valid_positive_bounded now uses parse_bounded_decimal. mlir_affine 7/7, mlir_pipeline 32/32, mlir_register_tiles 11/11 pass.
This was referenced Oct 7, 2026
Closed
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.
Wires the existing compiler affine lowering controls into flow-to-mlir: --affine, --tile-size, and --tile-l2-size. Adds validation and an end-to-end Flow test proving affine.for emission and two-level tiling. Part of #665.