Skip to content

Conversation

@vvish
Copy link
Contributor

@vvish vvish commented Dec 7, 2025

If the stablehlo->tosa transformation is applied without stablehlo dynamism canonicalization (as a part of e.g. stablehlo-canonicalize-dynamism or stablehlo-aggressive-simplification) stablehlo.dynamic_slice can be converted into tosa.slice if the indices are const.

@vvish vvish changed the title Convert stablehlo.dynamic_slice into tosa.slice when indexes are const Convert stablehlo.dynamic_slice into tosa.slice when indices are const Dec 8, 2025
@vvish vvish force-pushed the vvish/feat/tosa_shlo_dyn_slice branch from 73f8c68 to 1f31053 Compare December 15, 2025 10:24
@vvish vvish force-pushed the vvish/feat/tosa_shlo_dyn_slice branch from 1f31053 to 200e9bc Compare December 28, 2025 23:08
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