Bug 1520021 - clang-cl should not use AudioNodeEngine's NEON workarounds. r=drno
authorDavid Major <dmajor@mozilla.com>
Mon, 14 Jan 2019 18:34:57 -0500
changeset 510951 4b0600db127a88a72afbbf079c8207825e9abf3c
parent 510950 45294093578dfcc64b1bb4f7610c186be78485ed
child 510952 bff0f583c673817e12c12a561deab99a56548af6
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdrno
bugs1520021
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1520021 - clang-cl should not use AudioNodeEngine's NEON workarounds. r=drno
dom/media/webaudio/AudioNodeEngineNEON.cpp
--- a/dom/media/webaudio/AudioNodeEngineNEON.cpp
+++ b/dom/media/webaudio/AudioNodeEngineNEON.cpp
@@ -1,15 +1,15 @@
 /* -*- mode: c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* this source code form is subject to the terms of the mozilla public
  * license, v. 2.0. if a copy of the mpl was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "AudioNodeEngineNEON.h"
-#if defined(_MSC_VER) && defined(_M_ARM64)
+#if defined(_MSC_VER) && defined(_M_ARM64) && !defined(__clang__)
 #include <arm64_neon.h>
 #else
 #include <arm_neon.h>
 #endif
 
 //#ifdef DEBUG
 #if 0  // see bug 921099
 #define ASSERT_ALIGNED(ptr)                                     \