[XLA] Teach HloComputation::Reparent to properly handle reparenting into fusion computations.
This also moves HloInstruction::CheckFusionInstruction() out of "private", and adds calls to it in the reduce-precision-insertion test to confirm that the reduce-precision-insertion pass maintains valid fusion computations. (These checks then fail without the fix to HloComputation::Reparent.) PiperOrigin-RevId: 167031741
Loading
Please sign in to comment