Remove -f16:16:32 from the XCore DataLayout string.

This makes it identical to the string llvm produces.

llvm-svn: 197500
This commit is contained in:
Rafael Espindola 2013-12-17 14:34:42 +00:00
parent d482aa5f0d
commit 26c67b7879
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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