1 // RUN: %clang_cc1 -triple arm-linux-guneabi \
2 // RUN: -target-cpu cortex-a8 \
3 // RUN: -emit-llvm -w -O1 -o - %s | FileCheck --check-prefix=CHECK-ARM %s
4
5 // RUN: %clang_cc1 -triple arm64-linux-gnueabi \
6 // RUN: -target-feature +neon \
7 // RUN: -emit-llvm -w -O1 -o - %s | FileCheck --check-prefix=CHECK-AARCH64 %s
8
9 // REQUIRES: aarch64-registered-target || arm-registered-target
10
11 // Test if int64_t and uint64_t can be correctly mangled.
12
13 #include "arm_neon.h"
14 // CHECK-ARM: f1x(
15 // CHECK-AARCH64: f1l(
f1(int64_t a)16 void f1(int64_t a) {}
17 // CHECK-ARM: f2y(
18 // CHECK-AARCH64: f2m(
f2(uint64_t a)19 void f2(uint64_t a) {}
20 // CHECK-ARM: f3Px(
21 // CHECK-AARCH64: f3Pl(
f3(int64_t * ptr)22 void f3(int64_t *ptr) {}
23 // CHECK-ARM: f4Py(
24 // CHECK-AARCH64: f4Pm(
f4(uint64_t * ptr)25 void f4(uint64_t *ptr) {}
26