Commit graph

10698 commits

Author SHA1 Message Date
Folkert
1b0d6110cc strip the layout cache so it does no extra work 2021-08-13 15:09:56 +02:00
Folkert de Vries
6741d93517
Merge pull request #1579 from rtfeldman/soa-alias
Soa alias
2021-08-13 15:08:42 +02:00
Richard Feldman
0f42da7b7b
Merge pull request #1510 from rtfeldman/alias-nominal-equality
Alias nominal equality
2021-08-13 08:50:38 -04:00
Folkert
24ddc4b1e8 further optimizations 2021-08-13 13:25:36 +02:00
Folkert de Vries
3ac646f2a6
Merge branch 'trunk' into soa-alias 2021-08-13 13:13:42 +02:00
Folkert de Vries
d16206ab8a
Merge pull request #1577 from rtfeldman/tags-soa-phase-2
Tags soa phase 2
2021-08-13 13:13:29 +02:00
Folkert
df83bf0d48 Merge remote-tracking branch 'origin/soa-alias' into alias-nominal-equality 2021-08-13 12:11:36 +02:00
Folkert
c9040c012e make things work 2021-08-13 11:04:31 +02:00
Folkert
67182baa81 add new AliasVariables type 2021-08-13 10:07:58 +02:00
Richard Feldman
d5007ebb88
Merge pull request #1578 from rtfeldman/soa-apply
further shrink flattype
2021-08-12 21:45:19 -04:00
Richard Feldman
bf38493d65 Make is_empty const 2021-08-12 21:39:57 -04:00
Folkert
c8007201b0 shrink FlatType further 2021-08-12 23:13:32 +02:00
Folkert
42f04fcc77 use variablesubsslice for Apply 2021-08-12 22:49:56 +02:00
Folkert
46439b2116 optimize 2021-08-12 22:22:52 +02:00
Folkert
966caf4a02 cleanup 2021-08-12 22:21:00 +02:00
Folkert
35874a6b1c progress 2021-08-12 22:19:02 +02:00
Folkert
46f6e86716 use new unification for rec ~ rec 2021-08-12 21:50:10 +02:00
Folkert
ecfb0e2685 also for recursive tags 2021-08-12 21:46:35 +02:00
Folkert
c058368a6d optimize tag union type -> layout conversion 2021-08-12 21:32:23 +02:00
Folkert
cf05afeacc use vec 2021-08-12 21:02:59 +02:00
Folkert
3bbf1a5506 use UnionTags for recursive tag unions 2021-08-12 20:50:33 +02:00
Folkert
e86cc22024 add empty variable slice at index 0 2021-08-12 19:35:33 +02:00
Folkert de Vries
a12114f0d8
Merge pull request #1572 from rtfeldman/stack_size_with_alignment
take alignment into account when calculating stack size
2021-08-12 10:41:32 +02:00
Folkert de Vries
255ddbe8c1
Merge branch 'trunk' into stack_size_with_alignment 2021-08-12 09:49:33 +02:00
joshuaharry
38c87c92b6
Merge pull request #1573 from rtfeldman/debug-flag
Make `debuggir` and `llc` more discoverable from the Roc CLI
2021-08-11 22:21:09 -05:00
Joshua Hoeflich
43c0fa9b35 Fix typo 2021-08-11 21:33:12 -05:00
Joshua Hoeflich
a6ee0ebe52 Merge branch 'debug-flag' of github.com:rtfeldman/roc into debug-flag 2021-08-11 21:30:21 -05:00
Joshua Hoeflich
c3879cf5be Extract constant; cargo clippy 2021-08-11 21:30:14 -05:00
joshuaharry
f2ed3923a4
Merge branch 'trunk' into debug-flag 2021-08-11 21:20:08 -05:00
Richard Feldman
c245e29559
Merge pull request #1570 from rtfeldman/tags-soa-phase-0
Tags soa phase 0
2021-08-11 22:19:45 -04:00
Richard Feldman
c5289522e5 Try to help the branch predictor 2021-08-11 21:52:56 -04:00
Joshua Hoeflich
bfce144e8a Make llc discoverable on $PATH on more systems 2021-08-11 20:50:55 -05:00
Richard Feldman
45e5418897
Merge pull request #1571 from rtfeldman/tags-soa-phase-1
Tags soa phase 1
2021-08-11 21:48:39 -04:00
Folkert
eb5439ee96 take alignment into account when calculating stack size 2021-08-11 22:37:00 +02:00
Folkert
1a0df6ad61 re-enable test 2021-08-11 22:10:30 +02:00
Folkert
0643efa571 clippy 2021-08-11 22:04:43 +02:00
Folkert
1d32be0818 all tests pass 2021-08-11 21:59:23 +02:00
Folkert
6c0860b6bf milestone all but one gen tests passing 2021-08-11 21:50:11 +02:00
Folkert
56b699fcf3 add iterator helpers 2021-08-11 20:35:36 +02:00
Folkert
fd3ccaeabe add helper functions 2021-08-11 20:35:02 +02:00
Folkert
903ac405a3 short_circuit_help 2021-08-11 20:24:10 +02:00
Folkert
823824c62d add index for variables slice 2021-08-11 20:11:50 +02:00
Folkert
4386d3d5f4 add write_ext_content 2021-08-11 20:10:22 +02:00
Folkert
0e66995437 Merge remote-tracking branch 'origin/trunk' into tags-soa-phase-0 2021-08-11 17:25:00 +02:00
Richard Feldman
2786e0e3d6
Merge pull request #1551 from rtfeldman/Str.fromUtf8Range
[WIP] Str.fromUtf8Range
2021-08-10 21:42:42 -04:00
Folkert
4140473f1a cleanup and comments 2021-08-11 01:12:46 +02:00
Folkert
574e07807e turn lt into lte 2021-08-11 00:22:15 +02:00
Folkert
8c374c8d7d check sizes when casting 2021-08-10 23:46:43 +02:00
joshuaharry
d3d7ca03b5
Merge branch 'trunk' into Str.fromUtf8Range 2021-08-10 15:31:09 -05:00
Joshua Hoeflich
29228972c9 Renaming 2021-08-10 10:54:19 -05:00