[PATCH] Do not define CRT_HAS_128BIT for MIPS64

Petar Jovanovic petarj at mips.com
Wed Dec 17 06:20:10 PST 2014


Hi joerg,

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

http://reviews.llvm.org/D6703

Files:
  lib/builtins/int_types.h

Index: lib/builtins/int_types.h
===================================================================
--- lib/builtins/int_types.h
+++ lib/builtins/int_types.h
@@ -56,7 +56,7 @@
     }s;
 } udwords;
 
-#if __LP64__
+#if defined(__LP64__) && !defined(__mips__)
 #define CRT_HAS_128BIT
 #endif

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


More information about the llvm-commits mailing list