Commit Graph

171 Commits

Author SHA1 Message Date
7f00dc3cdb Reformat. 2019-07-10 15:33:32 -07:00
8faff26c31 Give float_bits bitcast instruction a name. 2019-07-10 15:31:18 -07:00
e4123433a1 Reformat. 2019-07-10 14:28:07 -07:00
bb30434392 This .into_iter() call is equivalent to .iter() and will not move the array. 2019-07-10 13:54:36 -07:00
fdc13563b8 Initial implementation of SIMD in the LLVM backend. 2019-07-10 13:54:32 -07:00
77afcea9dc Add V128 stubs to allow LLVM backend to build again. 2019-07-10 13:48:12 -07:00
0a1bdd449e Update to @llvm.minimum/@llvm.maximum which requires LLVM 8.
The @llvm.minnum/@llvm.maxnum intrinsics don't produce correct (for wasm) outputs in all cases.
2019-07-10 13:48:12 -07:00
ea83924547 Update to LLVM 8.0. 2019-07-10 13:48:12 -07:00
1e86e32d40 Use bitcast instead of alloca+load+ptrcast+store sequence. 2019-07-10 10:24:14 -07:00
a3dcc0e240 Merge remote-tracking branch 'origin/master' into feature/osr 2019-07-04 23:56:45 +08:00
adb257a40f Reformat. 2019-07-01 16:15:13 -07:00
9fc713f9b1 Update for new wasmparser.rs version. 2019-07-01 16:11:38 -07:00
650f67a339 Merge remote-tracking branch 'origin/master' into feature/osr 2019-07-01 21:15:35 +08:00
967027003d Full preemptive snapshot/resume. 2019-06-27 15:49:43 +08:00
70247a0c6e Simplify construction of floating point constants. 2019-06-25 16:05:22 -07:00
55394b4f06 Void type in llvm may only be used as a function return type. You may not form a pointer to void or use it as a structure member.
Fixes assertion failure initializing llvm backend.
2019-06-25 16:05:22 -07:00
69944c1dc2 Fix ctx layout in LLVM. 2019-06-05 02:13:10 +08:00
66f9049a06 Reset LLVM related code to master 2019-06-02 19:36:26 -05:00
995ecefa92 Cargo fmt 2019-06-02 09:49:21 -05:00
8019505e65 Merge remote-tracking branch 'origin/feature/clif-cgapi' into feature/metering 2019-05-31 15:40:05 +08:00
b834b4ff36 Metering for LLVM. 2019-05-31 15:36:08 +08:00
8069cdac16 Merge branch 'master' into feature/clif-cgapi 2019-05-26 12:04:45 -05:00
6ca311f92d Fix compilation errors and warnings 2019-05-26 11:13:37 -05:00
04d6ccc95c Pass module info to FCG as Arc 2019-05-21 23:44:31 -05:00
e34e625009 Implement MCG.next_function in other backends 2019-05-19 11:45:16 -05:00
6aa87a0bbf Add the internals field and necessary structures for metering. 2019-05-17 01:10:21 +08:00
fac4c452c6 Fix LLVM backend. 2019-05-14 18:49:02 +08:00
2aefa731a6 Add deny for unreachable patterns and unused unsafe 2019-05-12 00:33:02 -05:00
85158ac22a Add some initial deny for unused_imports and unused_variables
Additional unused variable fix on unix

Remove unused import on unix

Remove unused windows import
2019-05-11 09:23:25 -05:00
54095fcd67 Clean up commented out code in LLVM codegen 2019-05-07 22:53:48 -05:00
e53d5a91ca Remove transmutes. 2019-05-07 19:20:18 +08:00
9c0cbc9775 Remove previous LLVM parser code 2019-05-06 23:41:31 -05:00
0926a5020e Implement caching for parser refactor 2019-05-05 20:11:47 -05:00
4770277b15 Remove parser refactor commented out code, unused imports and fields 2019-05-05 14:28:40 -05:00
e1138a553b Fix LLVM refactor unreachable depth 2019-05-05 13:56:02 -05:00
1864733ab8 Merge branch 'master' into feature/llvm-cgapi 2019-05-05 13:25:51 -05:00
60c0504bdf Implement llvm returns in function code generator finalize 2019-05-04 12:07:21 -05:00
c5caf9b6db Update LLVM FCG begin_body 2019-05-03 00:14:25 -05:00
b016ec6b34 Add start_of_code_block to function 2019-04-30 23:44:34 -05:00
0ee2ba0ee6 Implement more of next_function and finalize 2019-04-30 23:22:41 -05:00
ec253c73ab Implement feed_local 2019-04-30 20:11:44 -05:00
21dd01c3aa Fix LLVM backend compilation and segfaults. 2019-04-30 15:52:43 +08:00
01ba789eed Cleanup some long literal lacking separators 2019-04-29 23:49:00 -05:00
53bebf9c73 Add initial progress to add LLVM to module refactor 2019-04-29 00:13:34 -05:00
9ab7199fe5 Merge branch 'master' into feature/cleanup-imports-unsafe 2019-04-24 08:37:06 -07:00
706ddabf61 Hook up error propagation 2019-04-22 15:06:40 -07:00
9e93565a49 Cleanup build warnings imports and unnecessary unsafe 2019-04-20 20:37:39 -05:00
087a826222 fix tests on more time uh huh 2019-04-19 14:09:41 -07:00
c3ef1f8421 Remove commented-out code 2019-04-19 14:00:03 -07:00
443663aa3f Add caching support to llvm backend 2019-04-19 13:54:48 -07:00