Skip to content

[LLVMCPU] Add vscale_range target field, require it for scalable vec - #24848

Open
egebeysel wants to merge 1 commit into
users/egebeysel/scalable_vector_level_tilingfrom
users/egebeysel/scalable-dist-1-vscale-range-target-field
Open

[LLVMCPU] Add vscale_range target field, require it for scalable vec#24848
egebeysel wants to merge 1 commit into
users/egebeysel/scalable_vector_level_tilingfrom
users/egebeysel/scalable-dist-1-vscale-range-target-field

Conversation

@egebeysel

@egebeysel egebeysel commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

In-lieu of the feedback on #24698, this PR adds a user-specifiable vscale_range that is recorded on the executable target and that also stamps the dispatches. This will be used for lowering later on, specifically while setting tile sizes and aligning them to scalable vector sizes.

For targets that support scalable vectorization, specifying this flag is a requirement if scalable vectorization is also enabled. If the target has +zvl*b features and the user specifies a lower bound, the maximum of the two lower bounds will be effective.

Assisted-by: Claude Code


Stack created with GitHub Stacks CLIGive Feedback 💬

@egebeysel
egebeysel force-pushed the users/egebeysel/scalable-dist-1-vscale-range-target-field branch 4 times, most recently from 5197880 to 7259a31 Compare August 25, 2026 17:23
@egebeysel
egebeysel marked this pull request as ready for review August 26, 2026 09:01
@egebeysel
egebeysel marked this pull request as draft August 26, 2026 09:02
Add a user-specifiable vscale_range that is recorded on the executable target. This will be used for lowering later on, specifically while setting tile sizes and aligning them to scalable vector sizes.

For targets that support scalable vectorization, specifying this flag is a requirement if scalable vectorization is also enabled. If the target has +zvl*b features and the user specifies a lower bound, the maximum of the two lower bounds will be effective.

Signed-off-by: Ege Beysel <beyselege@gmail.com>
@egebeysel
egebeysel force-pushed the users/egebeysel/scalable-dist-1-vscale-range-target-field branch from 7259a31 to 51b834b Compare August 26, 2026 15:34
@egebeysel
egebeysel marked this pull request as ready for review August 26, 2026 15:45
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.

1 participant