Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGen/ppc64-struct-onevect.c @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | 2e18cbf3894f |
line wrap: on
line source
// 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 returned %a.coerce) // CHECK: ret <4 x float> %a.coerce