diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index b1e5d556266d..3c7592f6a93d 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -3395,9 +3395,7 @@ public: LongDoubleWidth = LongDoubleAlign = 128; PointerWidth = PointerAlign = 64; SuitableAlign = 128; - DescriptionString = "e-" - "i64:64-i128:128-" - "n32:64-S128"; + DescriptionString = "e-i64:64-i128:128-s:32-n32:64-S128"; WCharType = UnsignedInt; LongDoubleFormat = &llvm::APFloat::IEEEquad; diff --git a/clang/test/CodeGen/target-data.c b/clang/test/CodeGen/target-data.c index e54727bf73c5..5be5a8c3d21c 100644 --- a/clang/test/CodeGen/target-data.c +++ b/clang/test/CodeGen/target-data.c @@ -106,7 +106,7 @@ // RUN: %clang_cc1 -triple aarch64-unknown -o - -emit-llvm %s | \ // RUN: FileCheck %s -check-prefix=AARCH64 -// AARCH64: target datalayout = "e-i64:64-i128:128-n32:64-S128" +// AARCH64: target datalayout = "e-i64:64-i128:128-s:32-n32:64-S128" // RUN: %clang_cc1 -triple thumb-unknown-gnueabi -o - -emit-llvm %s | \ // RUN: FileCheck %s -check-prefix=THUMB