arm-vector-arguments.c revision 8aa87c71d9bfec14e135c683b0d7b9de999dbcb0
1// RUN: %clang_cc1 -triple thumbv7-apple-darwin9 \ 2// RUN: -target-abi apcs-gnu \ 3// RUN: -target-cpu cortex-a8 \ 4// RUN: -mfloat-abi soft \ 5// RUN: -target-feature +soft-float-abi \ 6// RUN: -emit-llvm -w -o - %s | FileCheck %s 7 8#include <arm_neon.h> 9 10// CHECK: define void @f0(%struct.__simd128_int8_t* sret %agg.result, <16 x i8> %{{.*}}, <16 x i8> %{{.*}}) 11int8x16_t f0(int8x16_t a0, int8x16_t a1) { 12 return vzipq_s8(a0, a1).val[0]; 13} 14