From 7a6f5e47cf3144ea1fdf4105279f0a2bc23aa59f Mon Sep 17 00:00:00 2001 From: Petar Jovanovic Date: Thu, 18 Dec 2014 01:21:33 +0000 Subject: [PATCH] Do not define CRT_HAS_128BIT for MIPS64 Do not define it for MIPS64 until its backend supports it. See the bug report [1] for more information. [1] http://llvm.org/bugs/show_bug.cgi?id=20098 Differential Revision: http://reviews.llvm.org/D6703 llvm-svn: 224488 --- compiler-rt/lib/builtins/int_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler-rt/lib/builtins/int_types.h b/compiler-rt/lib/builtins/int_types.h index 5107f715..aedae14 100644 --- a/compiler-rt/lib/builtins/int_types.h +++ b/compiler-rt/lib/builtins/int_types.h @@ -56,7 +56,8 @@ typedef union }s; } udwords; -#if __LP64__ +/* MIPS64 issue: PR 20098 */ +#if defined(__LP64__) && !(defined(__mips__) && defined(__clang__)) #define CRT_HAS_128BIT #endif -- 2.7.4