Re-enable warnings while including arm_neon_sse.h.

PiperOrigin-RevId: 292626163
Change-Id: Id9c7ff791215916bf5292015b46c13323abb52a9
This commit is contained in:
Robert David 2020-01-31 15:16:21 -08:00 committed by TensorFlower Gardener
parent c671d2d5ea
commit c55d50a4a0

View File

@ -22,13 +22,7 @@ limitations under the License.
#if defined __GNUC__ && defined __SSE4_1__ && !defined TF_LITE_DISABLE_X86_NEON
#define USE_NEON
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#pragma GCC diagnostic ignored "-Wattributes"
#pragma GCC diagnostic ignored "-Wnarrowing"
#pragma GCC diagnostic ignored "-Wsequence-point"
#include "NEON_2_SSE.h"
#pragma GCC diagnostic pop
#endif
// NEON_OR_PORTABLE(SomeFunc, args) calls NeonSomeFunc(args) if USE_NEON is