1 ; RUN: llvm-dis < %s.bc | FileCheck %s
3 %struct.__neon_int8x8x2_t = type { <8 x i8>, <8 x i8> }
5 declare %struct.__neon_int8x8x2_t @llvm.aarch64.neon.ld2.v8i8.p0i8(i8*)
7 ; CHECK-LABEL: define %struct.__neon_int8x8x2_t @test_named_struct_return(ptr %A) {
8 ; CHECK: %1 = call { <8 x i8>, <8 x i8> } @llvm.aarch64.neon.ld2.v8i8.p0(ptr %A)
9 ; CHECK: %2 = extractvalue { <8 x i8>, <8 x i8> } %1, 0
10 ; CHECK: %3 = insertvalue %struct.__neon_int8x8x2_t poison, <8 x i8> %2, 0
11 ; CHECK: %4 = extractvalue { <8 x i8>, <8 x i8> } %1, 1
12 ; CHECK: %5 = insertvalue %struct.__neon_int8x8x2_t %3, <8 x i8> %4, 1
13 ; CHECK: ret %struct.__neon_int8x8x2_t %5
15 define %struct.__neon_int8x8x2_t @test_named_struct_return(i8* %A) {
16 %val = call %struct.__neon_int8x8x2_t @llvm.aarch64.neon.ld2.v8i8.p0i8(i8* %A)
17 ret %struct.__neon_int8x8x2_t %val