1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple arm-linux-guneabi \ 2*0a6a1f1dSLionel Sambuc // RUN: -target-cpu cortex-a8 \ 3*0a6a1f1dSLionel Sambuc // RUN: -emit-llvm -w -O1 -o - %s | FileCheck --check-prefix=CHECK-ARM %s 4*0a6a1f1dSLionel Sambuc 5*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple arm64-linux-gnueabi \ 6*0a6a1f1dSLionel Sambuc // RUN: -target-feature +neon \ 7*0a6a1f1dSLionel Sambuc // RUN: -emit-llvm -w -O1 -o - %s | FileCheck --check-prefix=CHECK-AARCH64 %s 8*0a6a1f1dSLionel Sambuc 9*0a6a1f1dSLionel Sambuc // Test if int64_t and uint64_t can be correctly mangled. 10*0a6a1f1dSLionel Sambuc 11*0a6a1f1dSLionel Sambuc #include "arm_neon.h" 12*0a6a1f1dSLionel Sambuc // CHECK-ARM: f1x( 13*0a6a1f1dSLionel Sambuc // CHECK-AARCH64: f1l( f1(int64_t a)14*0a6a1f1dSLionel Sambucvoid f1(int64_t a) {} 15*0a6a1f1dSLionel Sambuc // CHECK-ARM: f2y( 16*0a6a1f1dSLionel Sambuc // CHECK-AARCH64: f2m( f2(uint64_t a)17*0a6a1f1dSLionel Sambucvoid f2(uint64_t a) {} 18*0a6a1f1dSLionel Sambuc // CHECK-ARM: f3Px( 19*0a6a1f1dSLionel Sambuc // CHECK-AARCH64: f3Pl( f3(int64_t * ptr)20*0a6a1f1dSLionel Sambucvoid f3(int64_t *ptr) {} 21*0a6a1f1dSLionel Sambuc // CHECK-ARM: f4Py( 22*0a6a1f1dSLionel Sambuc // CHECK-AARCH64: f4Pm( f4(uint64_t * ptr)23*0a6a1f1dSLionel Sambucvoid f4(uint64_t *ptr) {} 24