[LLVMCPU] Add vscale_range target field, require it for scalable vec - #24848
Open
egebeysel wants to merge 1 commit into
Conversation
egebeysel
force-pushed
the
users/egebeysel/scalable-dist-1-vscale-range-target-field
branch
4 times, most recently
from
August 25, 2026 17:23
5197880 to
7259a31
Compare
egebeysel
marked this pull request as ready for review
August 26, 2026 09:01
egebeysel
requested review from
Groverkss,
MaheshRavishankar,
Max191,
amd-eochoalo,
hanhanW,
qedawkins and
sommerlukas
as code owners
August 26, 2026 09:01
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
force-pushed
the
users/egebeysel/scalable-dist-1-vscale-range-target-field
branch
from
August 26, 2026 15:34
7259a31 to
51b834b
Compare
egebeysel
marked this pull request as ready for review
August 26, 2026 15:45
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.
In-lieu of the feedback on #24698, this PR adds a user-specifiable
vscale_rangethat 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*bfeatures 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 CLI • Give Feedback 💬