Commit graph

2070 commits

Author SHA1 Message Date
Folkert
e3356dea7b clippy warnings 2020-08-08 11:51:59 +02:00
Chad Stearns
4e906a5156 No phi node at all, just an conditional branch 2020-08-08 01:26:25 -04:00
Chad Stearns
0f717ac45a Merge branch 'list-join' of github.com:rtfeldman/roc into list-join 2020-08-08 01:07:52 -04:00
Chad Stearns
12c0cfca21 Comment back in the optimized code gen evaluation 2020-08-08 01:07:08 -04:00
Chadtech
b219125892
Merge branch 'trunk' into list-join 2020-08-08 00:50:13 -04:00
Chad Stearns
e47c847118 Entire inner loop happens in phi2 node, rather than phi2 node happening inside loop 2020-08-08 00:44:15 -04:00
Chad Stearns
0e15f75f3b List.join works in all cases 2020-08-08 00:33:05 -04:00
Richard Feldman
beaa0ed6e1 Drop unnecessary Arc 2020-08-07 22:27:38 -04:00
Richard Feldman
c8e647ccfc Use is_zero_sized to remove lots of ptr_bytes 2020-08-07 20:08:06 -04:00
Folkert
55eff50e36 good progress on Lean-based inc/dec 2020-08-07 23:22:59 +02:00
Folkert
a5a5731010 insert most inc/dec instructions 2020-08-07 02:35:12 +02:00
Folkert
9d1f545ad6 implement free variables 2020-08-07 00:45:12 +02:00
Folkert
2467815cef rework how values from a pattern are assigned 2020-08-07 00:16:17 +02:00
Folkert
f31c116f7c fix warnings in test files 2020-08-06 21:50:22 +02:00
Folkert
0fbcfc7431 fix clippy complaints 2020-08-06 21:39:55 +02:00
Folkert
9dbce40a55 remove now-unused mono files 2020-08-06 21:17:25 +02:00
Folkert
378fe1d5d1 phase out old mono stuff 2020-08-06 21:05:14 +02:00
Folkert
fb3aced178 rename pattern2 -> exhaustive 2020-08-06 18:45:28 +02:00
Folkert
5ff5def504 rename test macros 2020-08-06 18:42:28 +02:00
Folkert
dab6621127 opt tests 2020-08-06 17:05:18 +02:00
Folkert
5c0dc268f8 fix mono tests 2020-08-06 16:55:35 +02:00
Folkert
40b68f7e99 all gen tests are passing 2020-08-06 14:08:33 +02:00
Chad Stearns
910389cef2 Fully developed list_join tests 2020-08-05 23:24:04 -04:00
Chad Stearns
c73e77b5ef Bring up variables out of inner loop 2020-08-05 23:23:40 -04:00
Folkert
db0bed2fe7 mostly fix issues with patterns/guards/switch/cond 2020-08-06 01:09:42 +02:00
Folkert
dab00f2e2d add Alias expression 2020-08-05 22:45:25 +02:00
Folkert
c18bbe9a63 join points with arguments 2020-08-05 22:33:07 +02:00
Folkert
b22fa7c9cd gen empty list correctly 2020-08-05 16:48:06 +02:00
Folkert
34f6417fae implement list literals 2020-08-05 16:27:49 +02:00
Folkert
4e55a4bf92 more pattern matching fidling 2020-08-05 16:10:45 +02:00
Chad Stearns
362d3908d5 Fixed dest_elem_ptr not incrementing within inner element inserting loop 2020-08-04 22:54:34 -04:00
Chad Stearns
f4075adf00 Renamed some variables that were copy and pasted 2020-08-04 21:48:53 -04:00
Chad Stearns
ba1feb9330 Fixed problem with index for loop to sum lengths of lists in outer list not initialized to zero 2020-08-04 21:48:37 -04:00
Richard Feldman
15d8e06a44 Don't blow up on module timings if there was an error 2020-08-03 23:58:59 -04:00
Richard Feldman
62fdae8b45 Don't send separate start_time arg 2020-08-03 23:16:46 -04:00
Richard Feldman
7f1e666ad3 Add some basic timings 2020-08-03 22:46:14 -04:00
Richard Feldman
656dd18177 clippy 2020-08-03 20:55:16 -04:00
Richard Feldman
6ba54c986f Fix interning bug with exposed symbols 2020-08-03 20:48:53 -04:00
Folkert
8c79b88697 things are working again 2020-08-04 01:28:40 +02:00
Richard Feldman
41a8875a4c Update some docs 2020-08-03 18:50:50 -04:00
Folkert
6ce02b5727 wip working on function calls 2020-08-03 23:16:46 +02:00
Folkert
cccfeb51f2 simple when is working 2020-08-03 20:10:41 +02:00
Richard Feldman
87630e1d69 Fix test_uniq_load 2020-08-02 21:48:37 -04:00
Richard Feldman
cb843c37e7 Get tests compiling again 2020-08-02 21:00:33 -04:00
Richard Feldman
62459d0f1f Drop SharedModules concept 2020-08-02 20:58:51 -04:00
Richard Feldman
406087970b Get load::file compiling. 2020-08-02 20:53:38 -04:00
Chad Stearns
60dcad329f Solve memory issue with List.join 2020-08-02 19:15:17 -04:00
Chad Stearns
b9673b68fe Use inner list len for end condition of loop through inner list elements 2020-08-02 19:04:26 -04:00
Chad Stearns
3011bfa7be Fixed some comments 2020-08-02 16:41:39 -04:00
Chad Stearns
4c7503d17e List.join passed LLVM validation 2020-08-02 15:35:03 -04:00