Clang DataLayout string cleanup: don't print the aggregate defaults.

llvm-svn: 197429
This commit is contained in:
Rafael Espindola 2013-12-16 21:51:30 +00:00
parent 31f3a713ae
commit 61a69257a4
2 changed files with 12 additions and 12 deletions

View File

@ -2935,7 +2935,7 @@ public:
SuitableAlign = 128;
DescriptionString = "e-p:32:32:32"
"-f64:32:64-"
"a:0:64-f80:32:32-n8:16:32-S128";
"f80:32:32-n8:16:32-S128";
SizeType = UnsignedInt;
PtrDiffType = SignedInt;
IntPtrType = SignedInt;
@ -3031,7 +3031,7 @@ public:
IntPtrType = SignedLong;
DescriptionString = "e-p:32:32:32"
"-f64:32:64-"
"a:0:64-f80:128:128-n8:16:32-S128";
"f80:128:128-n8:16:32-S128";
HasAlignMac68kSupport = true;
}
@ -3049,7 +3049,7 @@ public:
DoubleAlign = LongLongAlign = 64;
DescriptionString = "e-p:32:32:32-"
"i64:64:64-f80:128:128-"
"a:0:64-f80:32:32-n8:16:32-S32";
"f80:32:32-n8:16:32-S32";
}
virtual void getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const {
@ -3118,7 +3118,7 @@ public:
DoubleAlign = LongLongAlign = 64;
DescriptionString = "e-p:32:32:32-"
"i64:64:64-"
"a:0:64-f80:32:32-n8:16:32-S32";
"f80:32:32-n8:16:32-S32";
}
virtual void getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const {
@ -3226,7 +3226,7 @@ public:
DescriptionString = "e-p:64:64:64-"
"i64:64:64-"
"a:0:64-s:64:64-f80:128:128-n8:16:32:64-S128";
"s:64:64-f80:128:128-n8:16:32:64-S128";
// Use fpret only for long double.
RealTypeUsesObjCFPRet = (1 << TargetInfo::LongDouble);
@ -3719,7 +3719,7 @@ public:
} else {
DescriptionString = ("e-p:32:32:32-"
"i64:64:64-"
"v128:64:128-a:0:64-n32-S64");
"v128:64:128-n32-S64");
}
// ARM targets default to using the ARM C++ ABI.

View File

@ -1,22 +1,22 @@
// RUN: %clang_cc1 -triple i686-unknown-unknown -emit-llvm -o - %s | \
// RUN: FileCheck --check-prefix=I686-UNKNOWN %s
// I686-UNKNOWN: target datalayout = "e-p:32:32:32-f64:32:64-a:0:64-f80:32:32-n8:16:32-S128"
// I686-UNKNOWN: target datalayout = "e-p:32:32:32-f64:32:64-f80:32:32-n8:16:32-S128"
// RUN: %clang_cc1 -triple i686-apple-darwin9 -emit-llvm -o - %s | \
// RUN: FileCheck --check-prefix=I686-DARWIN %s
// I686-DARWIN: target datalayout = "e-p:32:32:32-f64:32:64-a:0:64-f80:128:128-n8:16:32-S128"
// I686-DARWIN: target datalayout = "e-p:32:32:32-f64:32:64-f80:128:128-n8:16:32-S128"
// RUN: %clang_cc1 -triple i686-unknown-win32 -emit-llvm -o - %s | \
// RUN: FileCheck --check-prefix=I686-WIN32 %s
// I686-WIN32: target datalayout = "e-p:32:32:32-i64:64:64-f80:128:128-a:0:64-f80:32:32-n8:16:32-S32"
// I686-WIN32: target datalayout = "e-p:32:32:32-i64:64:64-f80:128:128-f80:32:32-n8:16:32-S32"
// RUN: %clang_cc1 -triple i686-unknown-cygwin -emit-llvm -o - %s | \
// RUN: FileCheck --check-prefix=I686-CYGWIN %s
// I686-CYGWIN: target datalayout = "e-p:32:32:32-i64:64:64-a:0:64-f80:32:32-n8:16:32-S32"
// I686-CYGWIN: target datalayout = "e-p:32:32:32-i64:64:64-f80:32:32-n8:16:32-S32"
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | \
// RUN: FileCheck --check-prefix=X86_64 %s
// X86_64: target datalayout = "e-p:64:64:64-i64:64:64-a:0:64-s:64:64-f80:128:128-n8:16:32:64-S128"
// X86_64: target datalayout = "e-p:64:64:64-i64:64:64-s:64:64-f80:128:128-n8:16:32:64-S128"
// RUN: %clang_cc1 -triple xcore-unknown-unknown -emit-llvm -o - %s | \
// RUN: FileCheck --check-prefix=XCORE %s
@ -114,7 +114,7 @@
// RUN: %clang_cc1 -triple arm-unknown -o - -emit-llvm %s | \
// RUN: FileCheck %s -check-prefix=ARM
// ARM: target datalayout = "e-p:32:32:32-i64:64:64-v128:64:128-a:0:64-n32-S64"
// ARM: target datalayout = "e-p:32:32:32-i64:64:64-v128:64:128-n32-S64"
// RUN: %clang_cc1 -triple thumb-unknown -o - -emit-llvm -target-abi apcs-gnu \
// RUN: %s | FileCheck %s -check-prefix=THUMB-GNU