Commit graph

907 commits

Author SHA1 Message Date
Folkert de Vries
201d09d9bf
Merge branch 'trunk' into list-map-ownership 2022-05-07 11:59:51 +02:00
ayazhafiz
afd68f103f Un-ignore test that works now 2022-05-06 22:21:39 -04:00
Folkert de Vries
e67ae7c922
Merge pull request #2817 from rtfeldman/i/2792
Fix llvm type errors for float functions
2022-05-06 22:34:45 +02:00
Folkert de Vries
990823e6b7
Merge pull request #3010 from rtfeldman/polymorphic_lambda_set_usage
Better symbol specialization data structure, and handle closure specialization
2022-05-06 21:37:22 +02:00
Folkert
07383e96f0
Merge remote-tracking branch 'origin/trunk' into i/2792 2022-05-06 20:17:53 +02:00
Ayaz Hafiz
9e35cf9060
Unable function marks for symbol specializations 2022-05-06 12:03:35 -04:00
Richard Feldman
eb4fd05274
Use Threading::Single in wasm test helpers 2022-05-06 11:38:17 -04:00
Folkert
f140fad2b0
add the test that started this whole saga 2022-05-06 16:55:08 +02:00
Folkert
ae90f1ec7e
re-enable test 2022-05-06 16:47:29 +02:00
Ayaz Hafiz
b4f5e62f46
Marks specializations for closure defs 2022-05-06 09:44:47 -04:00
Folkert
f2c498c900
Merge branch 'list-is-unique-lowlevel' into list-map-ownership 2022-05-06 14:13:03 +02:00
Richard Feldman
dd460fb818
Use single-threaded builds in tests 2022-05-05 14:42:36 -04:00
Ayaz Hafiz
de924de266
Fix test name typo 2022-05-05 11:13:42 -04:00
Ayaz Hafiz
143b0f61a8
Add a couple tests 2022-05-05 11:13:42 -04:00
Ayaz Hafiz
c79298ea8e
Fix test_gen diffs 2022-05-05 11:13:42 -04:00
Ayaz Hafiz
2b82de1e3f
Fix refcount tests 2022-05-05 11:13:42 -04:00
Ayaz Hafiz
767d76ce02
Turn off flapping test 2022-05-05 11:13:41 -04:00
Ayaz Hafiz
261df36c50
Polymorphic expression specialization works in gen tests 2022-05-05 11:13:40 -04:00
Ayaz Hafiz
7182180622
Pass 1 of polymorphic specialization of defs 2022-05-05 11:13:39 -04:00
Anton-4
f3493850bb
Merge pull request #2983 from rtfeldman/wasi-libc-sys
Build WASI libc using Zig, instead of using a checked-in binary
2022-05-05 09:40:46 +02:00
Folkert
42ee775fce
WIP 2022-05-04 19:29:24 +02:00
Ayaz Hafiz
4304c2c2f0
Correct output type of flapping test
The Roc program in this test returns a U8, but the tested type is marked
as a U16, so it's possible we were just picking up garbage bytes.

Closes #2997
2022-05-04 12:49:07 -04:00
Brian Carroll
fd9a92927b Clean up a stray underscore 2022-05-03 19:13:32 +01:00
Anton-4
cc28de408c
update wasmer to 2.2.1 2022-05-03 18:00:29 +02:00
Brian Carroll
0a3d3e8409
Merge pull request #2987 from rtfeldman/issue-2793/u8-signed-comparison
Issue 2793/u8 signed comparison
2022-05-03 08:01:40 -05:00
Jared Cone
c0780aad92
Implemented unsigned int comparisons. 2022-05-02 04:28:28 -07:00
Folkert
5c9f8f5037
fix a bug where a closure is called immediately 2022-05-01 14:42:16 +02:00
Folkert
b7b86c0cde
Merge remote-tracking branch 'origin/trunk' into update_zig_09 2022-04-30 23:34:48 +02:00
Folkert de Vries
5e47e4767e
Merge pull request #2967 from rtfeldman/arm-sjlj
SJLJ roc_panic on AArch64
2022-04-29 16:32:15 +02:00
ayazhafiz
c6f313c33a Fix test with type errors 2022-04-28 21:13:10 -04:00
ayazhafiz
07781dd95f Disable closure wasm test 2022-04-28 20:37:42 -04:00
Ayaz Hafiz
38fd9e8286 Fix gen-dev tests 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
afe49cf570 Cleanup 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
3bffdb6037
Add test for 2900
Closes #2900
2022-04-28 16:12:08 -04:00
Ayaz Hafiz
83f9c2a3a0
Trunk test for 2777
Closes #2777
2022-04-28 16:04:24 -04:00
Ayaz Hafiz
fbf4cd11ff Turn off busted test and turn on similar repro 2022-04-27 22:43:39 -04:00
Ayaz Hafiz
f1dc9c8298
Opaques take @ : %s/\$\([A-Z]\)/@\1/g 2022-04-25 12:26:38 -04:00
Ayaz Hafiz
e543dd4fe6
Bugfix test gen 2022-04-25 10:59:41 -04:00
Ayaz Hafiz
6e7a8f2d3e
Remove private tags from test-gen 2022-04-25 10:59:11 -04:00
Folkert de Vries
c02eaf7561
Merge pull request #2921 from rtfeldman/gather-reference-matrix
construct reference matrix on the fly
2022-04-24 18:17:33 +02:00
Richard Feldman
d9a16ff5b2
Merge pull request #2927 from rtfeldman/upgrade-target-lexicon
Upgrade target-lexicon
2022-04-23 22:09:58 -04:00
Richard Feldman
57b7832917
Upgrade target-lexicon 2022-04-23 20:51:57 -04:00
Folkert
5c992e49d9
rust is hard sometimes 2022-04-23 23:33:28 +02:00
Folkert
91e4a0636f
enable do_pass_bool_byte_closure_layout only in release mode 2022-04-23 21:58:36 +02:00
Richard Feldman
122a1d57a0
Merge remote-tracking branch 'origin/trunk' into sqrt-unchecked 2022-04-23 15:40:30 -04:00
Ayaz Hafiz
5d1dd81e93
Reuse symbol when opaque type wraps a known symbol
Opaques decay immediately into their argument during codegen, so we need
to handle something that's effectively variable aliasing correctly.

This bug popped up while migrating all current private tags to opaques.
2022-04-23 14:37:52 -04:00
Folkert
32edd55d3d
sanity check 2022-04-23 15:32:15 +02:00
Folkert
48ce1c14bf
ordering changed in a test 2022-04-22 17:10:27 +02:00
Ayaz
e2a28347bb
Update compiler/test_gen/src/helpers/llvm.rs
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2022-04-20 22:50:31 -04:00
Ayaz Hafiz
80dc50763e
Using abilities as types is illegal, but we can still compile them
Closes #2881
2022-04-20 17:46:18 -04:00