Skip to content

[dialects][transform] Tile'n'Fuse - tile size analysis and query ops#238

Merged
adam-smnk merged 2 commits into
llvm:mainfrom
adam-smnk:tile-size-analysis
Jul 24, 2026
Merged

[dialects][transform] Tile'n'Fuse - tile size analysis and query ops#238
adam-smnk merged 2 commits into
llvm:mainfrom
adam-smnk:tile-size-analysis

Conversation

@adam-smnk

@adam-smnk adam-smnk commented Jul 22, 2026

Copy link
Copy Markdown
Member

Adds a set of tools and utility transform ops that provide tile size selection logic which automatically adapts to operations and their operands' dimensions.

The tile size analysis aims at generalizing first-level (cache) tiling that exposes parallelism and improves memory hierarchy usage. Tile sizes are selected based on provided operations and annotated directly in IR for later propagation and consumption.

Additionally, a small utility for unit tiling is added to help further sub-tiling in preparation for vectorization.

Assisted-by: Claude

Adds a set of tools and utility transform ops that provide tile size
selection logic which automatically adapts to operations and their
operands' dimensions.

The tile size analysis aims at generalizing first-level (cache) tiling
that exposes parallelism and improves memory hierarchy usage.
Tile sizes are selected based on provided operation and annotated
directly in IR for later propagation and consumption.

Additionally, a small utility for unit tiling is added to help further
sub-tiling in preparation for vectorization.

Assisted-by: Claude
@adam-smnk
adam-smnk requested a review from rengolin July 22, 2026 15:02
Comment thread lighthouse/dialects/transform/transform_ext/utils/tile_size_analysis.py Outdated
@adam-smnk
adam-smnk merged commit ed48edc into llvm:main Jul 24, 2026
3 checks passed
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