Repository navigation
[MLIR Opt] Hardware-exact register tiling intrinsic lowering - #1375
Conversation
Co-authored-by: godofecht <[email protected]>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
…enerate bootstrap tools/flow_cli/mlir_tools.flow: kept main's AoSoA bank-count/swizzle-width flags and added --register-tile-intrinsics. Bootstrap regenerated from main's with bootstrap_from_c.sh --regen (fixed point at gen2, also on Linux x86-64).
…ootstrap Only compiler/bootstrap/flowc_stage_a conflicted (binary). Took main's bootstrap C/binary, then ran bootstrap_from_c.sh --regen (fixed point at gen2; --verify ALL PASS). Rebuilt the checked-in flowc_stage_a as Linux x86-64 ELF on the box (gcc 14 -O2), matching main's convention. Source auto-merge kept #1375 MLIR work alongside #729 cgen changes.
Part of #666.
This PR implements the first slice of the hardware-exact micro-kernel epic by adding target-specific intrinsic lowering for 2D/3D register tiles.
Key changes:
compiler/src/mlirgen.flow: Emit hardware intrinsics (likeamx.tile_mulf,arm_sme.outerproduct,nvvm.wgmma) using the correct MLIR generic operation syntax whenFLOWC_MLIR_REGISTER_TILE_INTRINSICS=1and a non-generic target is specified.tools/flow_cli/mlir_tools.flow: Add the--register-tile-intrinsicsflag.docs/language/mlir-opt-flags.md: Document the new flag and feature.tests/scripts/mlir_register_tiles.flow: Add verification for the intrinsic generation and valid MLIR formatting.Next steps (to be done in follow-up PRs):
PR created automatically by Jules for task 3587614321935913108 started by @godofecht