message: Fix CSE for partition-id and replica-id
diff: @@ -144,8 +144,8 @@ StatusOr<bool> HloCSE::Run(HloModule* module) {
  // If the instruction has zero operands (constants, parameters, etc.) skip
  // over it.
  if (instruction->operand_count() == 0 &&
  - (instruction->opcode() != HloOpcode::kPartitionId ||
  - instruction->opcode() != HloOpcode::kReplicaId)) {
  + instruction->opcode() != HloOpcode::kPartitionId &&
  + instruction->opcode() != HloOpcode::kReplicaId) {
  continue;
  }
  // Skip instructions which have side effects.
  