aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2014-12-18 01:21:33 +0000
committerAndrew Hsieh <andrewhsieh@google.com>2014-12-19 08:04:09 +0800
commit69e1e46d2b03c4a8d573120d8f202f4367930eb1 (patch)
treeebf33d66bdc52a32c7f8e01c08bdbce03f78d297
parent58bfd9dc4d03012ed9e59dc21e6b2e098f9476f8 (diff)
downloadcompiler-rt-release_35.tar.gz
Do not define CRT_HAS_128BIT for MIPS64release_35
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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224488 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/builtins/int_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/builtins/int_types.h b/lib/builtins/int_types.h
index 5107f7155..aedae14b2 100644
--- a/lib/builtins/int_types.h
+++ b/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