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