Repository navigation
[LinalgExt] Extend arg_compare tiling interface for explicit-index mode - #23193
Merged
Merged
Conversation
bangtianliu
requested review from
Groverkss,
IanWood1,
MaheshRavishankar,
Max191 and
hanhanW
as code owners
January 19, 2026 18:08
bangtianliu
marked this pull request as draft
January 19, 2026 18:09
bangtianliu
force-pushed
the
arg_compare_tiling_fix
branch
2 times, most recently
from
January 19, 2026 18:37
1d9f5a7 to
ab4f946
Compare
bangtianliu
marked this pull request as ready for review
January 19, 2026 18:47
kuhar
reviewed
Jan 19, 2026
Signed-off-by: Bangtian Liu <[email protected]>
bangtianliu
force-pushed
the
arg_compare_tiling_fix
branch
from
January 19, 2026 19:09
ab4f946 to
abccc4f
Compare
IanWood1
approved these changes
Jan 19, 2026
IanWood1
left a comment
Member
There was a problem hiding this comment.
Looks good, but maybe we want to disallow index_base when in explicit index mode?
| castedIndex); | ||
|
|
||
| Value candidateIndex; | ||
| if (hasExplicitIndexInput()) { |
Member
There was a problem hiding this comment.
If we don't use index base when in explicit index mode, should we make it illegal in the verifier?
Contributor
Author
There was a problem hiding this comment.
Absolutely, that is what I plan to do in the next PR.
kuhar
approved these changes
Jan 19, 2026
10 of 11 tasks
keshavvinayak01
pushed a commit
that referenced
this pull request
Jan 27, 2026
…de (#23193) This PR extends the tiling interface implementation for `ArgCompareOp` to support explicit-index mode (2 inputs: value + pre-computed indices), which was introduced in PR #23153. **Key changes:** - Extended `getTiledImplementation` (introduced in PR #21077) to slice both value and index inputs in explicit-index mode - Extended `generateScalarImplementation` (convert_to_loops) (introduced in PR #21138) to load indices from input instead of computing from iteration variables in explicit-index mode Signed-off-by: Bangtian Liu <[email protected]> Signed-off-by: Keshav Vinayak Jha <[email protected]>
MaheshRavishankar
pushed a commit
to MaheshRavishankar/iree
that referenced
this pull request
Feb 24, 2026
…de (iree-org#23193) This PR extends the tiling interface implementation for `ArgCompareOp` to support explicit-index mode (2 inputs: value + pre-computed indices), which was introduced in PR iree-org#23153. **Key changes:** - Extended `getTiledImplementation` (introduced in PR iree-org#21077) to slice both value and index inputs in explicit-index mode - Extended `generateScalarImplementation` (convert_to_loops) (introduced in PR iree-org#21138) to load indices from input instead of computing from iteration variables in explicit-index mode Signed-off-by: Bangtian Liu <[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.
This PR extends the tiling interface implementation for
ArgCompareOpto support explicit-index mode (2 inputs: value + pre-computed indices), which was introduced in PR #23153.Key changes:
getTiledImplementation(introduced in PR [LinalgExt] add TilingInterface support for ArgCompareOp #21077) to slice both value and index inputs in explicit-index modegenerateScalarImplementation(convert_to_loops) (introduced in PR [LinalgExt] support converting argcompare to loops. #21138) to load indices from input instead of computing from iteration variables in explicit-index mode