Replace ARCH_K8 with __x86_64__.

PiperOrigin-RevId: 317689006
Change-Id: I7e47b17ef53b3cc223b64ff179fcdc3777c61eb7
This commit is contained in:
Chris Kennelly 2020-06-22 10:55:18 -07:00 committed by TensorFlower Gardener
parent f5eb8a40e9
commit c041b5de75

View File

@ -92,7 +92,7 @@ TEST(ManualConstructorTest, Alignment) {
EXPECT_EQ(reinterpret_cast<char*>(test2.b.get()) - &test2.a,
reinterpret_cast<char*>(&control2.b) - &control2.a);
#ifdef ARCH_K8
#ifdef __x86_64__
EXPECT_EQ(reinterpret_cast<intptr_t>(test2.b.get()) % 16, 0);
#endif
}