[XLA] Fix points-to set calculation in HLO ListScheduler.
authorPeter Hawkins <phawkins@google.com>
Sat, 17 Mar 2018 16:57:03 +0000 (09:57 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Sat, 17 Mar 2018 17:01:11 +0000 (10:01 -0700)
commit6a0b4e177620626596c610f129a66233ffb6f5af
tree6400d1b3c1fbe9a60fb005f476686f74aaab8a26
parentd8315b74750683cec1758149afffa1ec9213120f
[XLA] Fix points-to set calculation in HLO ListScheduler.

Previously the list scheduler considered that an instruction used only the buffers defined by its operands. This is inaccurate in the presence of aliasing?an instruction may potentially use anything in the points-to set of the operand, including buffers defined by an ancestor of an operand. Change to use the full points-to set instead.

PiperOrigin-RevId: 189460681
tensorflow/compiler/xla/service/BUILD
tensorflow/compiler/xla/service/hlo_ordering_test.cc
tensorflow/compiler/xla/service/hlo_scheduling.cc
tensorflow/compiler/xla/service/hlo_scheduling_test.cc