@@ -151,7 +151,7 @@ class LLVM_LIBRARY_VISIBILITY SparcV8TargetInfo : public SparcTargetInfo {
151
151
public:
152
152
SparcV8TargetInfo (const llvm::Triple &Triple, const TargetOptions &Opts)
153
153
: SparcTargetInfo(Triple, Opts) {
154
- resetDataLayout (" E-m:e-p:32:32-i64:64-f128:64-n32-S64" );
154
+ resetDataLayout (" E-m:e-p:32:32-i64:64-i128:128- f128:64-n32-S64" );
155
155
// NetBSD / OpenBSD use long (same as llvm default); everyone else uses int.
156
156
switch (getTriple ().getOS ()) {
157
157
default :
@@ -188,7 +188,7 @@ class LLVM_LIBRARY_VISIBILITY SparcV8elTargetInfo : public SparcV8TargetInfo {
188
188
public:
189
189
SparcV8elTargetInfo (const llvm::Triple &Triple, const TargetOptions &Opts)
190
190
: SparcV8TargetInfo(Triple, Opts) {
191
- resetDataLayout (" e-m:e-p:32:32-i64:64-f128:64-n32-S64" );
191
+ resetDataLayout (" e-m:e-p:32:32-i64:64-i128:128- f128:64-n32-S64" );
192
192
}
193
193
};
194
194
@@ -198,7 +198,7 @@ class LLVM_LIBRARY_VISIBILITY SparcV9TargetInfo : public SparcTargetInfo {
198
198
SparcV9TargetInfo (const llvm::Triple &Triple, const TargetOptions &Opts)
199
199
: SparcTargetInfo(Triple, Opts) {
200
200
// FIXME: Support Sparc quad-precision long double?
201
- resetDataLayout (" E-m:e-i64:64-n32:64-S128" );
201
+ resetDataLayout (" E-m:e-i64:64-i128:128- n32:64-S128" );
202
202
// This is an LP64 platform.
203
203
LongWidth = LongAlign = PointerWidth = PointerAlign = 64 ;
204
204
0 commit comments