You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
358 B
14 lines
358 B
// REQUIRES: powerpc-registered-target
|
|
// RUN: %clang_cc1 -O2 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
|
|
|
|
typedef float v4sf __attribute__ ((vector_size (16)));
|
|
|
|
struct s { v4sf v; };
|
|
|
|
v4sf foo (struct s a) {
|
|
return a.v;
|
|
}
|
|
|
|
// CHECK-LABEL: define <4 x float> @foo(<4 x float> inreg %a.coerce)
|
|
// CHECK: ret <4 x float> %a.coerce
|