Commit graph

4788 commits

Author SHA1 Message Date
Folkert
8738c95d6f
give 0 as a value to our enum attributes 2023-06-27 00:07:33 +02:00
Ayaz
0edcd23657
Merge pull request #5569 from roc-lang/finally-trmc
tail recursion modulo cons
2023-06-25 15:31:34 -05:00
Brendan Hansknecht
4f97ab2965
remove old compiler-rt workarounds for macos 2023-06-24 17:27:11 -07:00
Folkert
ae47cc5171
in TRMC, still apply normal TCE 2023-06-24 19:45:44 +02:00
Folkert
9d10389c2b
make trmc candidate set cheaper to clone 2023-06-24 14:49:58 +02:00
Folkert
654cf7b861
changes after review 2023-06-24 14:49:57 +02:00
Folkert
26308f1dae
reformat test 2023-06-24 14:49:56 +02:00
Folkert
41af8ff969
fix invalid register write 2023-06-24 14:49:56 +02:00
Folkert
c38f8bec75
fix llvm gen tests 2023-06-24 14:49:56 +02:00
Folkert
f7104bfe54
update mono tests 2023-06-24 14:49:55 +02:00
Folkert
e19f0ae6d6
don't capture from outside join point for the dev backend 2023-06-24 14:49:55 +02:00
Folkert
c87519c209
search for multiple TRMC opportunities 2023-06-24 14:49:55 +02:00
Folkert
284fd3ee6c
disable dev test for now 2023-06-24 14:49:54 +02:00
Folkert
249f9bcf1e
use base pointer, not stack pointer 2023-06-24 14:49:54 +02:00
Folkert
bc64e4b92b
fix layout check issue 2023-06-24 14:49:53 +02:00
Folkert
a3b2de147e
clippy 2023-06-24 14:49:53 +02:00
Folkert
c21f80ea24
don't use pointer as union child 2023-06-24 14:49:52 +02:00
Folkert
2332ec3133
revert debug flags 2023-06-24 14:49:52 +02:00
Folkert
f797b59d82
mono test 2023-06-24 14:49:51 +02:00
Folkert
8fc4a42664
spelling 2023-06-24 14:49:51 +02:00
Folkert
b497c76e44
clippy 2023-06-24 14:49:51 +02:00
Folkert
b9b486e4b0
clean up linked_list_trmc test 2023-06-24 14:49:50 +02:00
Folkert
bb335469e0
working wasm implementation (for one example) 2023-06-24 14:49:50 +02:00
Folkert
880d2ef788
invalidate TRMC attempt when symbol is used before TRMC opportunity 2023-06-24 14:49:50 +02:00
Folkert
9ab4413beb
rewrite constFolding logic 2023-06-24 14:49:49 +02:00
Folkert
4a5b6a7a0a
never inline overflow panicking code
it creates too many allocas, growing the stack frame
2023-06-24 14:49:49 +02:00
Folkert
7637506037
skip is_null check if possible 2023-06-24 14:49:49 +02:00
Folkert
9955fe581b
attempt to simplify logic 2023-06-24 14:49:48 +02:00
J.Teeuwissen
2d9fdf0338
updated tag_pointer_set_tag_id 2023-06-24 14:49:48 +02:00
J.Teeuwissen
21d1835406
use build_gep to avoid build_int_to_ptr 2023-06-24 14:49:48 +02:00
Folkert
052ce8f2aa
clippy 2023-06-24 14:49:47 +02:00
Folkert
51f3752c94
wasm backend struggles 2023-06-24 14:49:47 +02:00
Folkert
9c85fb90d3
fix bugs 2023-06-24 14:49:47 +02:00
Folkert
0247237fe8
WIP 2023-06-24 14:49:46 +02:00
Folkert
4a9514d2c4
rough implementation 2023-06-24 14:49:46 +02:00
Folkert
76dcb75ff6
add Ptr lowlevels 2023-06-24 14:49:46 +02:00
Folkert
17512873e8
add LayoutRepr::Ptr 2023-06-24 14:49:45 +02:00
Richard Feldman
bdb93fda5e
Update to basic-cli 0.4.0 2023-06-22 16:58:50 -04:00
Ayaz Hafiz
739343a5b6
Clippy 2023-06-22 14:32:07 -05:00
Ayaz Hafiz
6e5ee5562e
Update tests 2023-06-22 14:32:05 -05:00
Ayaz Hafiz
e019ec6736
Add todo 2023-06-22 14:31:49 -05:00
Ayaz Hafiz
adf961ba0b
Use UEnv where possible 2023-06-22 14:31:49 -05:00
Ayaz Hafiz
ad20a2ee41
Shove more into a common env 2023-06-22 14:31:48 -05:00
Ayaz Hafiz
b5ea2c2c99
s/SolveCtx/SolveConfig/g 2023-06-22 14:31:36 -05:00
Ayaz Hafiz
4f7f66d695
Reorder 2023-06-22 14:31:24 -05:00
Ayaz Hafiz
8314d44650
Break up solve/solve into smaller modules 2023-06-22 14:31:14 -05:00
Ayaz Hafiz
d1dad56331
Rename env to scope 2023-06-22 14:31:03 -05:00
Ayaz Hafiz
683b586f60
Use more structs instead of tuples 2023-06-22 14:31:02 -05:00
Anton-4
8c118f7bd0
fmt 2023-06-22 21:10:45 +02:00
ibalbaert
6851741c8a
Update Result.roc
Changed deprecated Num.negate in Result.map docs to Num.neg

Signed-off-by: ibalbaert <ivo.balbaert@telenet.be>
2023-06-22 11:05:48 +02:00