From: Guy Benyei Date: Thu, 13 Dec 2012 13:22:48 +0000 (+0000) Subject: Remove little endian specification from SPIR data layout - SPIR doesn't define endian... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a03357d13daa40d341e5724ed47039b4d8af140;p=clang Remove little endian specification from SPIR data layout - SPIR doesn't define endiannes in the data layout. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170125 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index f63773d48b..50310394cd 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -4486,7 +4486,7 @@ namespace { SizeType = TargetInfo::UnsignedInt; PtrDiffType = IntPtrType = TargetInfo::SignedInt; DescriptionString - = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-" + = "p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-" "f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v48:64:64-" "v64:64:64-v96:128:128-v128:128:128-v192:256:256-v256:256:256-" "v512:512:512-v1024:1024:1024"; @@ -4500,7 +4500,7 @@ namespace { SizeType = TargetInfo::UnsignedLong; PtrDiffType = IntPtrType = TargetInfo::SignedLong; DescriptionString - = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-" + = "p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-" "f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v48:64:64-" "v64:64:64-v96:128:128-v128:128:128-v192:256:256-v256:256:256-" "v512:512:512-v1024:1024:1024";