r197500 - Remove -f16:16:32 from the XCore DataLayout string.
Rafael Espindola
rafael.espindola at gmail.com
Tue Dec 17 06:34:43 PST 2013
Author: rafael
Date: Tue Dec 17 08:34:42 2013
New Revision: 197500
URL: http://llvm.org/viewvc/llvm-project?rev=197500&view=rev
Log:
Remove -f16:16:32 from the XCore DataLayout string.
This makes it identical to the string llvm produces.
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=197500&r1=197499&r2=197500&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Tue Dec 17 08:34:42 2013
@@ -5461,7 +5461,7 @@ public:
WIntType = UnsignedInt;
UseZeroLengthBitfieldAlignment = true;
DescriptionString = "e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:32"
- "-f16:16:32-f64:32-a:0:32-n32";
+ "-f64:32-a:0:32-n32";
}
virtual void getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const {
Modified: cfe/trunk/test/CodeGen/target-data.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/target-data.c?rev=197500&r1=197499&r2=197500&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/target-data.c (original)
+++ cfe/trunk/test/CodeGen/target-data.c Tue Dec 17 08:34:42 2013
@@ -20,7 +20,7 @@
// RUN: %clang_cc1 -triple xcore-unknown-unknown -emit-llvm -o - %s | \
// RUN: FileCheck --check-prefix=XCORE %s
-// XCORE: target datalayout = "e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:32-f16:16:32-f64:32-a:0:32-n32"
+// XCORE: target datalayout = "e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:32-f64:32-a:0:32-n32"
// RUN: %clang_cc1 -triple sparc-sun-solaris -emit-llvm -o - %s | \
// RUN: FileCheck %s --check-prefix=SPARC-V8
More information about the cfe-commits
mailing list