diff options
author | Vijay Vasudevan <vrv@google.com> | 2017-02-17 17:05:49 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-02-17 17:23:48 -0800 |
commit | 93a975e114ee1c35f01ed3bdd47170e6f7129014 (patch) | |
tree | e34255aff698fe6a4a586e7940337fd278947f58 /tensorflow/core/lib/hash | |
parent | eb9624017a0040e805fda622a5f9ec6681e24246 (diff) |
Merge changes from github.
Change: 147897309
Diffstat (limited to 'tensorflow/core/lib/hash')
-rw-r--r-- | tensorflow/core/lib/hash/crc32c_accelerate.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tensorflow/core/lib/hash/crc32c_accelerate.cc b/tensorflow/core/lib/hash/crc32c_accelerate.cc index 07fa2faedd..b87550fba9 100644 --- a/tensorflow/core/lib/hash/crc32c_accelerate.cc +++ b/tensorflow/core/lib/hash/crc32c_accelerate.cc @@ -31,6 +31,12 @@ limitations under the License. #endif #endif /* __SSE4_2__ */ +// This version of Apple clang has a bug: +// https://llvm.org/bugs/show_bug.cgi?id=25510 +#if defined(__APPLE__) && (__clang_major__ <= 8) +#undef USE_SSE_CRC32C +#endif + #ifdef USE_SSE_CRC32C #include <nmmintrin.h> #endif |