Commit Graph

9347 Commits

Author SHA1 Message Date
Joshua Hoeflich
59f07377fe More testing; clean up 2021-08-14 18:23:49 -05:00
Joshua Hoeflich
744fefc3a1 Fixed: Actually calling llvm we generate 2021-08-14 18:20:11 -05:00
Joshua Hoeflich
ce8f947522 Split sig into two separate functions 2021-08-14 18:08:36 -05:00
Joshua Hoeflich
ff2c3d7945 Dummy implementation that doesn't do what we want 2021-08-14 17:59:53 -05:00
Richard Feldman
b031eb0e54
Merge pull request #1584 from rtfeldman/fix-list-prepend
move List.prepend to zig
2021-08-14 16:47:14 -04:00
Richard Feldman
93273261e0
Merge pull request #1582 from rtfeldman/optimize-unify-tag-creation
Optimize unify tag creation
2021-08-14 16:46:07 -04:00
Richard Feldman
43b1845053
Merge pull request #1580 from rtfeldman/strip-layout-cache
strip the layout cache so it does no extra work
2021-08-14 16:42:28 -04:00
Folkert
225c97aae3 move List.prepend to zig 2021-08-14 12:28:05 +02:00
Folkert
6d833845f9 fix typo 2021-08-14 00:53:18 +02:00
Folkert
3e448c1b74 get rid of inefficient conversion from mutmap to uniontags 2021-08-14 00:32:01 +02:00
Folkert
4cbb1c9b25 optimize initial tag union creation 2021-08-13 23:53:27 +02:00
Folkert
26da66d73f remove from_mutmap 2021-08-13 15:42:43 +02:00
Folkert
7d51a6bca3 comment is not a test... 2021-08-13 15:42:18 +02:00
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