aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/PowerPC/ppc64-abi-override-datalayout.c
blob: 30b85d24a56fd4e28b72dfdcb2714a30b6fd375c (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -target-abi elfv2 %s -o - -emit-llvm | FileCheck %s

// REQUIRES: powerpc-registered-target

// Make sure that overriding the ABI to ELFv2 on a target that defaults to
// ELFv1 changes the data layout:

// CHECK: target datalayout = "E-m:e-Fn32-i64:64-i128:128-n32:64-S128-v256:256:256-v512:512:512"