annotate clang/test/CodeGen/ppc64-struct-onevect.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // REQUIRES: powerpc-registered-target
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -O2 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 typedef float v4sf __attribute__ ((vector_size (16)));
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 struct s { v4sf v; };
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 v4sf foo (struct s a) {
anatofuz
parents:
diff changeset
9 return a.v;
anatofuz
parents:
diff changeset
10 }
anatofuz
parents:
diff changeset
11
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
12 // CHECK-LABEL: define{{.*}} <4 x float> @foo(<4 x float> inreg returned %a.coerce)
150
anatofuz
parents:
diff changeset
13 // CHECK: ret <4 x float> %a.coerce