From b39ac0b42f41d7e96c56ec9970aaf294baa58ba5 Mon Sep 17 00:00:00 2001 From: Frederik Gossen Date: Mon, 2 Sep 2024 06:46:35 -0700 Subject: [PATCH] [XLA] Remove unused call graph in copy insertion pass PiperOrigin-RevId: 670202770 --- xla/service/copy_insertion.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/xla/service/copy_insertion.cc b/xla/service/copy_insertion.cc index 6e2fc858d09589..39eafb7886717f 100644 --- a/xla/service/copy_insertion.cc +++ b/xla/service/copy_insertion.cc @@ -2293,8 +2293,6 @@ absl::Status CopyInsertion::RemoveUnnecessaryCopies( } } - std::unique_ptr call_graph = CallGraph::Build(module); - int64_t num_existing_copies = GetNumExistingCopies(module, execution_threads); bool changed = true; int64_t num_iterations = -1;