message: Only add reduce-precision ops inside FusionKind::kLoop fusion nodes.
  Other sorts of fusion nodes can't necessarily handle arbitrary elementwise additions into the computation.
diff: @@ -122,7 +122,8 @@ StatusOr<bool> ReducePrecisionInsertion::insert_on_inputs(
  continue;
  }
  - if (instruction->opcode() == HloOpcode::kFusion) {
  + if (instruction->opcode() == HloOpcode::kFusion &&
  + instruction->fusion_kind() == HloInstruction::FusionKind::kLoop) {
  // Insert the reduce-precision operation inside the fusion computation,
  // after the corresponding parameter instruction.
  TF_ASSIGN_OR_RETURN(
  @@ -171,7 +172,8 @@ StatusOr<bool> ReducePrecisionInsertion::insert_on_outputs(
  continue;
  }
  - if (instruction->opcode() == HloOpcode::kFusion) {
  + if (instruction->opcode() == HloOpcode::kFusion &&
  + instruction->fusion_kind() == HloInstruction::FusionKind::kLoop) {
  // Insert the reduce-precision operation as the last operation inside
  // the fusion computation.
  HloInstruction* fusion_root = instruction->fused_expression_root();
  