[compiler-rt] r224488 - Do not define CRT_HAS_128BIT for MIPS64

Petar Jovanovic petar.jovanovic at imgtec.com
Wed Dec 17 17:21:33 PST 2014


Author: petarj
Date: Wed Dec 17 19:21:33 2014
New Revision: 224488

URL: http://llvm.org/viewvc/llvm-project?rev=224488&view=rev
Log:
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

Modified:
    compiler-rt/trunk/lib/builtins/int_types.h

Modified: compiler-rt/trunk/lib/builtins/int_types.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/int_types.h?rev=224488&r1=224487&r2=224488&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/int_types.h (original)
+++ compiler-rt/trunk/lib/builtins/int_types.h Wed Dec 17 19:21:33 2014
@@ -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
 





More information about the llvm-commits mailing list