blob: 0d1bdd16741f7ac2a193a5315e2b0014a1034871 [file] [log] [blame]
Daniel Dunbarb34b0802010-09-23 01:54:28 +00001// 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}