SIGN IN SIGN UP

Arm backend: Add decomposition pass for aten.ne (#10475)

Add a DecomposeNotEqualPass that rewrites `aten.ne` and its variants
(e.g. `aten.ne_`, `aten.ne.Scalar`) into a combination of supported TOSA
ops:
    ne(x, y) → logical_not(eq(x, y))

This decomposition is necessary since TOSA does not define a NOT_EQUAL
operator. The pass ensures compatibility with both MI and BI TOSA
profiles by emitting only supported ops (`eq` and `logical_not`), and is
integrated into the ArmPassManager pipeline accordingly.

Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
S
Sebastian Larsson committed
b504ba24f5dae6e383aec3ef54e726e1e9d09d35
Parent: 8d43ac4
Committed by GitHub <noreply@github.com> on 4/25/2025, 2:06:24 PM