diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-07-12 23:27:26 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-07-12 23:27:26 +0000 |
| commit | 07257fe14ec24d43d675a8a24c30c0bc3d886e7d (patch) | |
| tree | d128eadd6d2b6b862d78954d1afcefdede363845 /clang/test/Headers/arm-acle-header.c | |
| parent | 572250d60a23307df846bf56b387d7dabca17948 (diff) | |
| download | bcm5719-llvm-07257fe14ec24d43d675a8a24c30c0bc3d886e7d.tar.gz bcm5719-llvm-07257fe14ec24d43d675a8a24c30c0bc3d886e7d.zip | |
Headers: add hint intrinsics to arm_acle.h
This adds the ARM ACLE hint intrinsic wrappers to arm_acle.h. These need to be
protected with a !defined(_MSC_VER) since MSVC (and thus clang in compatibility
mode) provide these wrappers as proper builtin intrinsics.
llvm-svn: 212891
Diffstat (limited to 'clang/test/Headers/arm-acle-header.c')
| -rw-r--r-- | clang/test/Headers/arm-acle-header.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/clang/test/Headers/arm-acle-header.c b/clang/test/Headers/arm-acle-header.c index 523e77e4866..d9d2e04c945 100644 --- a/clang/test/Headers/arm-acle-header.c +++ b/clang/test/Headers/arm-acle-header.c @@ -1,7 +1,9 @@ -// RUN: %clang_cc1 -triple armv7 -target-cpu cortex-a15 -fsyntax-only -ffreestanding %s -// RUN: %clang_cc1 -triple aarch64 -target-cpu cortex-a53 -fsyntax-only -ffreestanding %s -// RUN: %clang_cc1 -x c++ -triple armv7 -target-cpu cortex-a15 -fsyntax-only -ffreestanding %s -// RUN: %clang_cc1 -x c++ -triple aarch64 -target-cpu cortex-a57 -fsyntax-only -ffreestanding %s +// RUN: %clang_cc1 -triple armv7-eabi -target-cpu cortex-a15 -fsyntax-only -ffreestanding %s +// RUN: %clang_cc1 -triple aarch64-eabi -target-cpu cortex-a53 -fsyntax-only -ffreestanding %s +// RUN: %clang_cc1 -triple thumbv7-windows -target-cpu cortex-a53 -fsyntax-only -ffreestanding %s +// RUN: %clang_cc1 -x c++ -triple armv7-eabi -target-cpu cortex-a15 -fsyntax-only -ffreestanding %s +// RUN: %clang_cc1 -x c++ -triple aarch64-eabi -target-cpu cortex-a57 -fsyntax-only -ffreestanding %s +// RUN: %clang_cc1 -x c++ -triple thumbv7-windows -target-cpu cortex-a15 -fsyntax-only -ffreestanding %s // expected-no-diagnostics #include <arm_acle.h> |

