brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 0680f23 Raw
20 lines · c
1// RUN: %clang_cc1 -triple armv7a-none-eabi -target-feature +neon -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK -check-prefix=AAPCS2// RUN: %clang_cc1 -triple armv7a-none-gnueabi -target-feature +neon -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK -check-prefix=AAPCS3// RUN: %clang_cc1 -triple armv7a-none-freebsd -target-feature +neon -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK -check-prefix=AAPCS4 5// RUN: %clang_cc1 -triple armv7a-apple-ios -target-feature +neon -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK -check-prefix=DEFAULT6// RUN: %clang_cc1 -triple armv7a-none-android -target-feature +neon -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK -check-prefix=DEFAULT7// RUN: %clang_cc1 -triple armv7a-none-androideabi -target-feature +neon -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK -check-prefix=DEFAULT8 9// REQUIRES: aarch64-registered-target || arm-registered-target10 11#include <arm_neon.h>12// Neon types have 64-bit alignment13int32x4_t gl_b;14void t3(int32x4_t *src) {15// CHECK: @t316  gl_b = *src;17// AAPCS: store <4 x i32> {{%.*}}, ptr @gl_b, align 818// DEFAULT: store <4 x i32> {{%.*}}, ptr @gl_b, align 1619}20