1 | // REQUIRES: powerpc-registered-target |
---|---|
2 | // RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s |
3 | |
4 | struct S { |
5 | double a; |
6 | long double b; |
7 | }; |
8 | |
9 | // CHECK: %struct.{{[a-zA-Z0-9]+}} = type { double, ppc_fp128 } |
10 | |
11 | long double test (struct S x) |
12 | { |
13 | return x.b; |
14 | } |
15 | |
16 | // CHECK: %{{[0-9]}} = load ppc_fp128, ppc_fp128* %{{[a-zA-Z0-9]+}}, align 16 |
17 |