[llvm-branch-commits] [cfe-branch] r205788 - Merging r197577:
Tom Stellard
thomas.stellard at amd.com
Tue Apr 8 12:16:08 PDT 2014
Author: tstellar
Date: Tue Apr 8 14:16:08 2014
New Revision: 205788
URL: http://llvm.org/viewvc/llvm-project?rev=205788&view=rev
Log:
Merging r197577:
------------------------------------------------------------------------
r197577 | rafael.espindola | 2013-12-18 10:16:50 -0500 (Wed, 18 Dec 2013) | 4 lines
Add -f64:32:64 to the darwin ppc32 DataLayout.
A f64 inside a struct can be 32 bit aligned on darwin.
------------------------------------------------------------------------
Modified:
cfe/branches/release_34/lib/Basic/Targets.cpp
cfe/branches/release_34/test/CodeGen/target-data.c
Modified: cfe/branches/release_34/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_34/lib/Basic/Targets.cpp?rev=205788&r1=205787&r2=205788&view=diff
==============================================================================
--- cfe/branches/release_34/lib/Basic/Targets.cpp (original)
+++ cfe/branches/release_34/lib/Basic/Targets.cpp Tue Apr 8 14:16:08 2014
@@ -1271,7 +1271,7 @@ public:
LongLongAlign = 32;
SuitableAlign = 128;
DescriptionString = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
- "i64:32:64-f32:32:32-f64:64:64-v128:128:128-n32";
+ "i64:32:64-f32:32:32-f64:32:64-v128:128:128-n32";
}
virtual BuiltinVaListKind getBuiltinVaListKind() const {
return TargetInfo::CharPtrBuiltinVaList;
Modified: cfe/branches/release_34/test/CodeGen/target-data.c
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_34/test/CodeGen/target-data.c?rev=205788&r1=205787&r2=205788&view=diff
==============================================================================
--- cfe/branches/release_34/test/CodeGen/target-data.c (original)
+++ cfe/branches/release_34/test/CodeGen/target-data.c Tue Apr 8 14:16:08 2014
@@ -4,3 +4,6 @@
// RUN: grep 'target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32-S128"' %t
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o %t %s
// RUN: grep 'target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"' %t
+// RUN: %clang_cc1 -triple powerpc-darwin -o - -emit-llvm %s | \
+// RUN: FileCheck %s -check-prefix=PPC32-DARWIN
+// PPC32-DARWIN: target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v128:128:128-n32"
More information about the llvm-branch-commits
mailing list