r197504 - Remove -f128:128 from the DataLayout strings. It is the default.
Rafael Espindola
rafael.espindola at gmail.com
Tue Dec 17 08:07:36 PST 2013
Author: rafael
Date: Tue Dec 17 10:07:35 2013
New Revision: 197504
URL: http://llvm.org/viewvc/llvm-project?rev=197504&view=rev
Log:
Remove -f128:128 from the DataLayout strings. It is the default.
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=197504&r1=197503&r2=197504&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Tue Dec 17 10:07:35 2013
@@ -1228,7 +1228,7 @@ public:
"n32:64";
} else
DescriptionString = "E-"
- "i64:64-f128:128-"
+ "i64:64-"
"n32:64";
// PPC64 supports atomics up to 8 bytes.
@@ -3397,7 +3397,7 @@ public:
SuitableAlign = 128;
DescriptionString = "e-"
"i64:64-i128:128-"
- "f128:128-n32:64-S128";
+ "n32:64-S128";
WCharType = UnsignedInt;
LongDoubleFormat = &llvm::APFloat::IEEEquad;
@@ -5238,11 +5238,11 @@ class Mips64EBTargetInfo : public Mips64
virtual void setDescriptionString() {
if (ABI == "n32")
DescriptionString = "E-p:32:32-i8:8:32-i16:16:32-"
- "i64:64-f128:128-"
+ "i64:64-"
"n32:64-S128";
else
DescriptionString = "E-i8:8:32-i16:16:32-"
- "i64:64-f128:128-"
+ "i64:64-"
"n32:64-S128";
}
@@ -5262,11 +5262,11 @@ class Mips64ELTargetInfo : public Mips64
virtual void setDescriptionString() {
if (ABI == "n32")
DescriptionString = "e-p:32:32-i8:8:32-i16:16:32-"
- "i64:64-f128:128"
+ "i64:64"
"-n32:64-S128";
else
DescriptionString = "e-i8:8:32-i16:16:32-"
- "i64:64-f128:128-"
+ "i64:64-"
"n32:64-S128";
}
public:
Modified: cfe/trunk/test/CodeGen/target-data.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/target-data.c?rev=197504&r1=197503&r2=197504&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/target-data.c (original)
+++ cfe/trunk/test/CodeGen/target-data.c Tue Dec 17 10:07:35 2013
@@ -40,19 +40,19 @@
// RUN: %clang_cc1 -triple mips64el-linux-gnu -o - -emit-llvm %s | \
// RUN: FileCheck %s -check-prefix=MIPS-64EL
-// MIPS-64EL: target datalayout = "e-i8:8:32-i16:16:32-i64:64-f128:128-n32:64-S128"
+// MIPS-64EL: target datalayout = "e-i8:8:32-i16:16:32-i64:64-n32:64-S128"
// RUN: %clang_cc1 -triple mips64el-linux-gnu -o - -emit-llvm -target-abi n32 \
// RUN: %s | FileCheck %s -check-prefix=MIPS-64EL-N32
-// MIPS-64EL-N32: target datalayout = "e-p:32:32-i8:8:32-i16:16:32-i64:64-f128:128-n32:64-S128"
+// MIPS-64EL-N32: target datalayout = "e-p:32:32-i8:8:32-i16:16:32-i64:64-n32:64-S128"
// RUN: %clang_cc1 -triple mips64-linux-gnu -o - -emit-llvm %s | \
// RUN: FileCheck %s -check-prefix=MIPS-64EB
-// MIPS-64EB: target datalayout = "E-i8:8:32-i16:16:32-i64:64-f128:128-n32:64-S128"
+// MIPS-64EB: target datalayout = "E-i8:8:32-i16:16:32-i64:64-n32:64-S128"
// RUN: %clang_cc1 -triple mips64-linux-gnu -o - -emit-llvm %s -target-abi n32 \
// RUN: | FileCheck %s -check-prefix=MIPS-64EB-N32
-// MIPS-64EB-N32: target datalayout = "E-p:32:32-i8:8:32-i16:16:32-i64:64-f128:128-n32:64-S128"
+// MIPS-64EB-N32: target datalayout = "E-p:32:32-i8:8:32-i16:16:32-i64:64-n32:64-S128"
// RUN: %clang_cc1 -triple powerpc64-lv2 -o - -emit-llvm %s | \
// RUN: FileCheck %s -check-prefix=PS3
@@ -74,7 +74,7 @@
// RUN: %clang_cc1 -triple powerpc64-linux -o - -emit-llvm %s | \
// RUN: FileCheck %s -check-prefix=PPC64-LINUX
-// PPC64-LINUX: target datalayout = "E-i64:64-f128:128-n32:64"
+// PPC64-LINUX: target datalayout = "E-i64:64-n32:64"
// RUN: %clang_cc1 -triple powerpc-darwin -o - -emit-llvm %s | \
// RUN: FileCheck %s -check-prefix=PPC32-DARWIN
@@ -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-f128:128-n32:64-S128"
+// AARCH64: target datalayout = "e-i64:64-i128:128-n32:64-S128"
// RUN: %clang_cc1 -triple thumb-unknown -o - -emit-llvm %s | \
// RUN: FileCheck %s -check-prefix=THUMB
More information about the cfe-commits
mailing list