aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/hlo_computation.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-06-12 03:04:10 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-06-12 03:06:55 -0700
commit4102ccf85ba197a5c9b9de641969d41a9fd0f839 (patch)
tree125ca18223eed67f9e425479fa31cd8aea1fae07 /tensorflow/compiler/xla/service/hlo_computation.cc
parent433ac81400c788557001789f0a0c5a76a9b7e29c (diff)
Remove unused variable from HloComputation::MakeInstructionPostOrder
PiperOrigin-RevId: 200189642
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_computation.cc')
-rw-r--r--tensorflow/compiler/xla/service/hlo_computation.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_computation.cc b/tensorflow/compiler/xla/service/hlo_computation.cc
index 763d9d2269..b158f44923 100644
--- a/tensorflow/compiler/xla/service/hlo_computation.cc
+++ b/tensorflow/compiler/xla/service/hlo_computation.cc
@@ -357,7 +357,6 @@ std::list<HloInstruction*> HloComputation::MakeInstructionPostOrder() const {
std::list<HloInstruction*> post_order;
std::list<HloInstruction*> trace_instructions;
tensorflow::gtl::FlatSet<HloInstruction*> added_instructions;
- std::vector<HloInstruction> dfs_stack;
for (auto& instruction : instructions_) {
if (instruction->opcode() == HloOpcode::kTrace) {
// Trace instructions aren't handled by the DFS visitor. Add trace