[PATCH] Do not define CRT_HAS_128BIT for MIPS64

Petar Jovanovic petarj at mips.com
Wed Dec 17 17:22:31 PST 2014


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6703

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

Index: compiler-rt/trunk/lib/builtins/int_types.h
===================================================================
--- compiler-rt/trunk/lib/builtins/int_types.h
+++ compiler-rt/trunk/lib/builtins/int_types.h
@@ -56,7 +56,8 @@
     }s;
 } udwords;
 
-#if __LP64__
+/* MIPS64 issue: PR 20098 */
+#if defined(__LP64__) && !(defined(__mips__) && defined(__clang__))
 #define CRT_HAS_128BIT
 #endif

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6703.17416.patch
Type: text/x-patch
Size: 400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141218/e3d3e967/attachment.bin>


More information about the llvm-commits mailing list