diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-11-15 14:29:50 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-15 14:33:37 -0800 |
commit | 4f3b5af14cf6bff389765d0f6dd2e5b6c3ba7161 (patch) | |
tree | 80e5ae6b19ec29a0453bd5d279d38929a07459fc /src/modules.js | |
parent | 0c4d11f4caaa960cf283a4c2112cbdf6a175cadd (diff) |
ignore llvm ir fast-math notation; fixes #1762
Diffstat (limited to 'src/modules.js')
-rw-r--r-- | src/modules.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules.js b/src/modules.js index 673e0662..5d48ede2 100644 --- a/src/modules.js +++ b/src/modules.js @@ -20,6 +20,7 @@ var LLVM = { COMPS: set('icmp', 'fcmp'), CONVERSIONS: set('inttoptr', 'ptrtoint', 'uitofp', 'sitofp', 'fptosi', 'fptoui', 'fpext', 'fptrunc'), INTRINSICS_32: set('_llvm_memcpy_p0i8_p0i8_i64', '_llvm_memmove_p0i8_p0i8_i64', '_llvm_memset_p0i8_i64'), // intrinsics that need args converted to i32 in USE_TYPED_ARRAYS == 2 + MATHOP_IGNORABLES: set('exact', 'nnan', 'ninf', 'nsz', 'arcp', 'fast'), }; LLVM.GLOBAL_MODIFIERS = set(keys(LLVM.LINKAGES).concat(['constant', 'global', 'hidden'])); |