File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ __swp(uint32_t __x, volatile uint32_t *__p) {
109
109
#endif
110
110
111
111
/* 7.7 NOP */
112
- #if !defined(_MSC_VER ) || !defined(__aarch64__ )
112
+ #if !defined(_MSC_VER ) || ( !defined(__aarch64__ ) && !defined( __arm64ec__ ) )
113
113
static __inline__ void __attribute__((__always_inline__ , __nodebug__ )) __nop (void ) {
114
114
__builtin_arm_nop ();
115
115
}
Original file line number Diff line number Diff line change 7
7
// RUN: %clang_cc1 -x c++ -triple thumbv7-windows -target-cpu cortex-a15 -fsyntax-only -ffreestanding -fms-extensions -fms-compatibility -fms-compatibility-version=19.11 %s
8
8
// RUN: %clang_cc1 -x c++ -triple aarch64-windows -target-cpu cortex-a53 -fsyntax-only -ffreestanding -fms-extensions -fms-compatibility -fms-compatibility-version=19.11 %s
9
9
// RUN: %clang_cc1 -x c++ -triple arm64-apple-ios -target-cpu apple-a7 -fsyntax-only -ffreestanding -fms-extensions %s
10
+ // RUN: %clang_cc1 -x c++ -triple arm64ec-windows -target-cpu cortex-a53 -fsyntax-only -ffreestanding -fms-extensions -fms-compatibility -fms-compatibility-version=19.11 %s
10
11
// expected-no-diagnostics
11
12
12
13
#include <arm_acle.h>
You can’t perform that action at this time.
0 commit comments