r197548 - Print the 'p' specification before the 'i' specification.
Rafael Espindola
rafael.espindola at gmail.com
Tue Dec 17 20:14:53 PST 2013
Author: rafael
Date: Tue Dec 17 22:14:53 2013
New Revision: 197548
URL: http://llvm.org/viewvc/llvm-project?rev=197548&view=rev
Log:
Print the 'p' specification before the 'i' specification.
No functionality change.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
cfe/trunk/test/CodeGen/target-data.c
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=197548&r1=197547&r2=197548&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Tue Dec 17 22:14:53 2013
@@ -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 {
Modified: cfe/trunk/test/CodeGen/target-data.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/target-data.c?rev=197548&r1=197547&r2=197548&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/target-data.c (original)
+++ cfe/trunk/test/CodeGen/target-data.c Tue Dec 17 22:14:53 2013
@@ -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
More information about the cfe-commits
mailing list