[XLA] Remove TPU-specific aliasing #ifdef which is no longer TPU-specific

PiperOrigin-RevId: 316806281
Change-Id: I6acab4ed606cc123052b539a4b2b160fffe21b5b
This commit is contained in:
George Karpenkov 2020-06-16 19:39:06 -07:00 committed by TensorFlower Gardener
parent 06ff30f7ea
commit 1444b6fbbd

View File

@ -109,9 +109,7 @@ class BufferDonationTest : public HloTestBase {
<< " size = " << result_root_buffer.size();
// Check for expected aliasing between input and output buffers.
// The following aliasing pattern is only ever generated by the TPU backend
// at the moment.
#if defined(XLA_TEST_BACKEND_TPU)
#ifndef XLA_TEST_BACKEND_INTERPRETER
for (int i = 0; i < ShapeUtil::TupleElementCount(argument_literal.shape());
++i) {
const ShapeIndex index({i});