blob: aad6ea0b741de2e362c93a7ac9a706a5867312b6 [file] [log] [blame]
Stephen Hines651f13c2014-04-23 16:59:28 -07001// 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
Stephen Hines6bcf27b2014-05-29 04:14:42 -07005// RUN: %clang_cc1 -triple arm64-linux-gnueabi \
Stephen Hines651f13c2014-04-23 16:59:28 -07006// 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(
14void f1(int64_t a) {}
15// CHECK-ARM: f2y(
16// CHECK-AARCH64: f2m(
17void f2(uint64_t a) {}
18// CHECK-ARM: f3Px(
19// CHECK-AARCH64: f3Pl(
20void f3(int64_t *ptr) {}
21// CHECK-ARM: f4Py(
22// CHECK-AARCH64: f4Pm(
23void f4(uint64_t *ptr) {}