1 // REQUIRES: arm-registered-target
2 // RUN: %clang_cc1 -triple arm-linux-guneabi \
3 // RUN:   -target-cpu cortex-a8 \
4 // RUN:   -emit-llvm -w -O1 -o - %s | FileCheck --check-prefix=CHECK-ARM %s
5 
6 // REQUIRES: aarch64-registered-target
7 // RUN: %clang_cc1 -triple aarch64-linux-gnueabi \
8 // RUN:   -target-feature +neon \
9 // RUN:   -emit-llvm -w -O1 -o - %s | FileCheck --check-prefix=CHECK-AARCH64 %s
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(
16 void f1(int64_t a) {}
17 // CHECK-ARM: f2y(
18 // CHECK-AARCH64: f2m(
19 void f2(uint64_t a) {}
20 // CHECK-ARM: f3Px(
21 // CHECK-AARCH64: f3Pl(
22 void f3(int64_t *ptr) {}
23 // CHECK-ARM: f4Py(
24 // CHECK-AARCH64: f4Pm(
25 void f4(uint64_t *ptr) {}
26