Skip to content

feat: lower register tiles to target intrinsics - #1325

Closed
godofecht wants to merge 5 commits into
mainfrom
codex/register-tile-intrinsic-lowering
Closed

godofecht wants to merge 5 commits into
mainfrom
codex/register-tile-intrinsic-lowering

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Add an explicit opt-in lowering mode for register tiles. AMX, SME, and NVVM targets now emit their target-specific generic MLIR operations when --register-tile-intrinsics is enabled. The existing vector.outerproduct lowering remains the default. Add coverage for all three target families.\n\nPart of #666

godofecht and others added 2 commits October 5, 2026 11:40
Wire --register-tile-intrinsics and the target/lane-budget flags through
the public flow mlir command, document the opt-in hardware lowering, and
cover the CLI path.

Co-authored-by: Abhishek Shivakumar <[email protected]>
cursoragent and others added 3 commits October 5, 2026 11:52
Checked-in Stage-A C now includes FLOWC_MLIR_REGISTER_TILE_INTRINSICS so
Native tools and flow-to-mlir emit AMX/SME/NVVM ops. bootstrap_from_c.sh
--regen reached a fixed point at gen2; --verify passes.

Co-authored-by: Abhishek Shivakumar <[email protected]>
flow mlir requires mlir-opt, which Native tools CI does not install.
The public CLI flags stay wired; the suite exercises them through
flow-to-mlir so the check runs without LLVM MLIR tools.

Co-authored-by: Abhishek Shivakumar <[email protected]>
@godofecht

Copy link
Copy Markdown
Contributor Author

Superseded by #1375 (merged as 31ba485), which landed the same opt-in --register-tile-intrinsics lowering for AMX, SME and NVVM in compiler/src/mlirgen.flow, tools/flow_cli/build.flow, tools/flow_cli/mlir_tools.flow, docs/language/mlir-opt-flags.md and tests/scripts/mlir_register_tiles.flow. 88 of this branch's 90 added lines are already on main; the rest of the diff against main is a stale base that would revert newer #731 noalias work. Nothing left to salvage. Closing during PR triage; the branch is kept.

@godofecht godofecht closed this Oct 7, 2026
@godofecht
godofecht deleted the codex/register-tile-intrinsic-lowering branch October 12, 2026 23:02
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