summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2014-12-18 01:21:33 +0000
committerPetar Jovanovic <petar.jovanovic@imgtec.com>2014-12-18 01:21:33 +0000
commit7a6f5e47cf3144ea1fdf4105279f0a2bc23aa59f (patch)
tree4d4ef1f79df7a860d5fce382562361ac2a9089a9 /compiler-rt
parentfda0cee7c6d4e4f874f7ae955b1f4cb4aa31416f (diff)
downloadbcm5719-llvm-7a6f5e47cf3144ea1fdf4105279f0a2bc23aa59f.tar.gz
bcm5719-llvm-7a6f5e47cf3144ea1fdf4105279f0a2bc23aa59f.zip
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
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/builtins/int_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/builtins/int_types.h b/compiler-rt/lib/builtins/int_types.h
index 5107f71550a..aedae14b204 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
OpenPOWER on IntegriCloud