Improve performance of HloDCE
Previously we performed a DFS traversal to find all dead roots in the graph but the same result can be achieved just by looking at the user count because we don't remove any instruction with control predecessors or successors (due to HloComputation::IsRemovable). PiperOrigin-RevId: 201663343
Loading
Please sign in to comment