blob: c4dcfa0723671e53898cc38f4604af1fd09dfe3d [file] [log] [blame]
Bill Schmidtdbaf4bc2012-10-29 14:59:24 +00001// REQUIRES: ppc64-registered-target
2// RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
3
4// CHECK: -f128:128:128-
5
6struct S {
7 double a;
8 long double b;
9};
10
11// CHECK: %struct.{{[a-zA-Z0-9]+}} = type { double, ppc_fp128 }
12
13long double test (struct S x)
14{
15 return x.b;
16}
17
18// CHECK: %{{[0-9]}} = load ppc_fp128* %{{[a-zA-Z0-9]+}}, align 16