Repository navigation
compiler/plugins/input/TOSA: fix: TOSA arith lowering must handle apply scale introduced by linalg lowering - #24121
Merged
egebeysel merged 1 commit intoMay 4, 2026
Conversation
Manewing
requested review from
krzysz00 and
lialan
and removed request for
MaheshRavishankar and
rsuderman
April 15, 2026 12:37
Contributor
|
Yeah you need to update the lit tests as well. |
Manewing
force-pushed
the
compiler_fix_tosa_input_conversion_apply_scale
branch
2 times, most recently
from
April 16, 2026 12:46
fc3395b to
26f19c2
Compare
Contributor
Author
|
@lialan sry for the confusion, I incorrectly assumed that |
Manewing
force-pushed
the
compiler_fix_tosa_input_conversion_apply_scale
branch
2 times, most recently
from
April 23, 2026 09:08
9b6d32e to
ac52bcf
Compare
egebeysel
approved these changes
Apr 27, 2026
…ly scale introduced by linalg lowering Signed-off-by: Florian Walbroel <[email protected]>
Manewing
force-pushed
the
compiler_fix_tosa_input_conversion_apply_scale
branch
from
April 29, 2026 07:56
ac52bcf to
64828c3
Compare
jerryyin
pushed a commit
that referenced
this pull request
May 7, 2026
…ly scale introduced by linalg lowering (#24121) TOSA to linalg lowering may (re-)introduce some additional TOSA operations as not all TOSA operations can be lowering to linalg. These need a following run of TOSA to arith lowering for element wise operations. The current pass pipeline is missing the option to enable lowering of tosa.apply_scale, which may be introduced during the lowering to linalg. This causes errors in the later stage of the compilation flow such as vectorization. Signed-off-by: Florian Walbroel <[email protected]>
RattataKing
pushed a commit
to RattataKing/iree
that referenced
this pull request
May 27, 2026
…ly scale introduced by linalg lowering (iree-org#24121) TOSA to linalg lowering may (re-)introduce some additional TOSA operations as not all TOSA operations can be lowering to linalg. These need a following run of TOSA to arith lowering for element wise operations. The current pass pipeline is missing the option to enable lowering of tosa.apply_scale, which may be introduced during the lowering to linalg. This causes errors in the later stage of the compilation flow such as vectorization. Signed-off-by: Florian Walbroel <[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.
TOSA to linalg lowering may (re-)introduce some additional TOSA operations as not all TOSA operations can be lowering to linalg. These need a following run of TOSA to arith lowering for element wise operations. The current pass pipeline is missing the option to enable lowering of tosa.apply_scale, which may be introduced during the lowering to linalg. This causes errors in the later stage of the compilation flow such as vectorization.