[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / PowerPC / ppc64-struct-onevect.c
blob68d6be8a4341c9e68a4f3b7fd5819fa465d494f8
1 // REQUIRES: powerpc-registered-target
2 // RUN: %clang_cc1 -O2 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
4 typedef float v4sf __attribute__ ((vector_size (16)));
6 struct s { v4sf v; };
8 v4sf foo (struct s a) {
9 return a.v;
12 // CHECK-LABEL: define{{.*}} <4 x float> @foo(<4 x float> inreg returned %a.coerce)
13 // CHECK: ret <4 x float> %a.coerce