Skip to content

Commit

Permalink
[XLA] Remove unused call graph in copy insertion pass
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 670202770
  • Loading branch information
frgossen authored and Google-ML-Automation committed Oct 2, 2024
1 parent 93be085 commit b39ac0b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions xla/service/copy_insertion.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2293,8 +2293,6 @@ absl::Status CopyInsertion::RemoveUnnecessaryCopies(
}
}

std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module);

int64_t num_existing_copies = GetNumExistingCopies(module, execution_threads);
bool changed = true;
int64_t num_iterations = -1;
Expand Down

0 comments on commit b39ac0b

Please sign in to comment.