From: Rafael Espindola Date: Wed, 18 Dec 2013 04:14:53 +0000 (+0000) Subject: Print the 'p' specification before the 'i' specification. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=668221f79f98a4ed353b9db9653c8e286874fbb3;p=clang Print the 'p' specification before the 'i' specification. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197548 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 3c7592f6a9..e4fc6094be 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -624,8 +624,7 @@ public: this->IntPtrType = TargetInfo::SignedInt; // RegParmMax is inherited from the underlying architecture this->LongDoubleFormat = &llvm::APFloat::IEEEdouble; - this->DescriptionString = "e-i64:64" - "-p:32:32-v128:32"; + this->DescriptionString = "e-p:32:32-i64:64-v128:32"; } virtual typename Target::CallingConvCheckResult checkCallingConvention( CallingConv CC) const { diff --git a/test/CodeGen/target-data.c b/test/CodeGen/target-data.c index 5be5a8c3d2..814b1efdff 100644 --- a/test/CodeGen/target-data.c +++ b/test/CodeGen/target-data.c @@ -62,7 +62,7 @@ // RUN: FileCheck %s -check-prefix=NACL // RUN: %clang_cc1 -triple le32-nacl -o - -emit-llvm %s | \ // RUN: FileCheck %s -check-prefix=NACL -// NACL: target datalayout = "e-i64:64-p:32:32-v128:32" +// NACL: target datalayout = "e-p:32:32-i64:64-v128:32" // RUN: %clang_cc1 -triple powerpc-unknown -o - -emit-llvm %s | \ // RUN: FileCheck %s -check-prefix=PPC