blob: aad6ea0b741de2e362c93a7ac9a706a5867312b6 [file] [log] [blame]
Kevin Qinad64f6d2014-02-24 02:45:03 +00001// 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
Bradley Smith4da7dd82014-04-30 10:52:05 +00005// 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
Kevin Qinad64f6d2014-02-24 02:45:03 +00009// 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) {}