Bill Schmidt | dbaf4bc | 2012-10-29 14:59:24 +0000 | [diff] [blame] | 1 | // 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 | |||||
6 | struct S { | ||||
7 | double a; | ||||
8 | long double b; | ||||
9 | }; | ||||
10 | |||||
11 | // CHECK: %struct.{{[a-zA-Z0-9]+}} = type { double, ppc_fp128 } | ||||
12 | |||||
13 | long 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 |