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 // Test if int64_t and uint64_t can be correctly mangled.
10 
11 #include "arm_neon.h"
12 // CHECK-ARM: f1x(
13 // CHECK-AARCH64: f1l(
14 void f1(int64_t a) {}
15 // CHECK-ARM: f2y(
16 // CHECK-AARCH64: f2m(
17 void f2(uint64_t a) {}
18 // CHECK-ARM: f3Px(
19 // CHECK-AARCH64: f3Pl(
20 void f3(int64_t *ptr) {}
21 // CHECK-ARM: f4Py(
22 // CHECK-AARCH64: f4Pm(
23 void f4(uint64_t *ptr) {}
24