Repository navigation
[VectorDistribute] Do not handle bit extend during matmul configuration - #21798
Merged
Merged
Conversation
Groverkss
requested review from
MaheshRavishankar,
kuhar and
qedawkins
as code owners
August 27, 2025 23:23
Contributor
Author
|
Depends on #21797 , please only review the top commit |
kuhar
reviewed
Aug 28, 2025
kuhar
approved these changes
Aug 28, 2025
kuhar
left a comment
Member
There was a problem hiding this comment.
Ooops, seems like I didn't read the instructions:
please only review the top commit
Groverkss
force-pushed
the
fix-intrinsic-cast-check
branch
from
August 30, 2025 16:17
842d14a to
5d8422f
Compare
Groverkss
enabled auto-merge (squash)
August 30, 2025 16:17
sogartar
pushed a commit
to nod-ai/amd-shark-ai
that referenced
this pull request
Sep 2, 2025
sogartar
pushed a commit
to nod-ai/amd-shark-ai
that referenced
this pull request
Sep 2, 2025
sogartar
pushed a commit
to nod-ai/amd-shark-ai
that referenced
this pull request
Sep 9, 2025
sogartar
pushed a commit
to nod-ai/amd-shark-ai
that referenced
this pull request
Sep 10, 2025
hhkit
pushed a commit
to opencompl/iree
that referenced
this pull request
Sep 11, 2025
…on (iree-org#21798) We shouldn't be handling bit extends outside of the contraction during configuration. The bit extend should be fused with the contraction for it to target intrinsics. This behavior matches what TileAndFuse does and prevents problems with cases like: ``` %lhs = linalg.generic { %ext = arith.extf %in %scaled = arith.mulf %ext, %scale } ... // mma linalg.generic %lhs, %rhs ``` Here the scaling doesn't allow us to target intrinsics, but currently vector distribute will target intrinsics. Fixes: iree-org#21434 Signed-off-by: Ivan Ho <[email protected]>
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.
We shouldn't be handling bit extends outside of the contraction during configuration. The bit extend should be fused with the contraction for it to target intrinsics. This behavior matches what TileAndFuse does and prevents problems with cases like:
Here the scaling doesn't allow us to target intrinsics, but currently vector distribute will target intrinsics.
Fixes: #21434