[compiler-rt] r257618 - [WebAssembly] clang supports int128_t on wasm32 in addition to wasm64.
Dan Gohman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 13 08:47:51 PST 2016
Author: djg
Date: Wed Jan 13 10:47:51 2016
New Revision: 257618
URL: http://llvm.org/viewvc/llvm-project?rev=257618&view=rev
Log:
[WebAssembly] clang supports int128_t on wasm32 in addition to wasm64.
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=257618&r1=257617&r2=257618&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/int_types.h (original)
+++ compiler-rt/trunk/lib/builtins/int_types.h Wed Jan 13 10:47:51 2016
@@ -61,7 +61,8 @@ typedef union
} udwords;
/* MIPS64 issue: PR 20098 */
-#if defined(__LP64__) && !(defined(__mips__) && defined(__clang__))
+#if (defined(__LP64__) || defined(__wasm__)) && \
+ !(defined(__mips__) && defined(__clang__))
#define CRT_HAS_128BIT
#endif
More information about the llvm-commits
mailing list