Arm backend: Improve permute/view fusing (#21055)
- Makes view/permutes always split to all branches of a node with multiple outputs for downward propagation. Note that this will never increase the number of permutes/views in the graph, since any non-fused permutes/views will propagate back and be fused together again by the upward propagation pass. - Adds support for where operator to fuse_identical_input_transforms - Replaces _would_strand_layout_op_on_wider_elements with MoveDataMovementOpsToSmallerDtypePass to allow ops to propagate more freely during the fusing phase - Adds tosa ops to MatchArgsPass since it is run after some ops have been rewritten to TOSA. - Generalizes refresh_permute_view_meta into refresh_node_meta which works for any operators and uses that. Signed-off-by: Adrian Lundell <adrian.lundell@arm.com>
A
Adrian Lundell committed
179c4eee7f288344ca1e72baaf8f74dd91872b7f
Parent: 007fc2b
Committed by GitHub <noreply@github.com>
on 7/23/2026, 5:36:14 PM