Commit a242494b authored by Michael Kuperstein's avatar Michael Kuperstein Committed by TensorFlower Gardener
Browse files

[XLA] Always run DynamicUpdateSlice check in CanShareOperandBufferWithUser()

Originally, the passed-in function was supposed to only override the target-independent code to forbid sharing. But, at some point, this behavior was changed, and now the passed-in function completely overrides the target-independent code. We'd like to move back to the original formulation, but that would require a bit more surgery, since some of the constraints in the target-independent path are actually target-specific.

In the meanwhile, make one "obvious" check override the target if the check fails.

PiperOrigin-RevId: 236734154
parent 404a240b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment