1*0a6a1f1dSLionel Sambuc // REQUIRES: powerpc-registered-target 2f4a2713aSLionel Sambuc // RUN: %clang_cc1 -O2 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s 3f4a2713aSLionel Sambuc 4f4a2713aSLionel Sambuc typedef float v4sf __attribute__ ((vector_size (16))); 5f4a2713aSLionel Sambuc 6f4a2713aSLionel Sambuc struct s { v4sf v; }; 7f4a2713aSLionel Sambuc foo(struct s a)8f4a2713aSLionel Sambucv4sf foo (struct s a) { 9f4a2713aSLionel Sambuc return a.v; 10f4a2713aSLionel Sambuc } 11f4a2713aSLionel Sambuc 12f4a2713aSLionel Sambuc // CHECK-LABEL: define <4 x float> @foo(<4 x float> inreg %a.coerce) 13f4a2713aSLionel Sambuc // CHECK: ret <4 x float> %a.coerce 14