Commit graph

4447 commits

Author SHA1 Message Date
Folkert
f5578e71b6
movzx function return values, to clear upper bits in zig function results 2023-06-07 12:52:35 +02:00
Folkert
515d60a138
many extra gen_primitives tests for gen-dev 2023-06-07 12:52:33 +02:00
Folkert
0e43510103
fix struct equality using pointer equalty ?! 2023-06-07 12:51:15 +02:00
Folkert
140a294460
never switch on a float 2023-06-07 12:51:15 +02:00
Folkert
ea2a016fd0
small recursive unions, too 2023-06-07 12:51:11 +02:00
Folkert
27ccf4a6b3
implement nonnullableunwrapped 2023-06-07 12:50:27 +02:00
Ayaz
c7f5007cd8
Merge pull request #5400 from roc-lang/semantic-layouts-for-newtypes
Implement semantic layouts for newtypes
2023-06-07 05:39:20 -05:00
Ayaz
c3edc8db07
Merge pull request #5525 from roc-lang/i5480
Compile dbgs that appear in expects
2023-06-07 05:13:02 -05:00
J.Teeuwissen
36f90c05e2
updated Stmt::Dbg 2023-06-07 08:34:36 +02:00
Luke Boswell
092676c4b7
Merge remote-tracking branch 'remote/main' into remove-json 2023-06-07 15:38:01 +10:00
Ajai Nelson
2e5fef5231
Improve error messages involving ignored variables
Fix #3987
2023-06-06 19:46:15 -04:00
Ayaz Hafiz
81a62d3ef9
Clippy 2023-06-06 18:09:07 -05:00
Ayaz Hafiz
43259b9ad6
Compile dbgs that appear in expects
Closes #5480
2023-06-06 18:07:34 -05:00
Ayaz
10dd57d45d
Merge pull request #5511 from roc-lang/print-codegen-info
Differentiate generating final IR and dumping it to an object in cgen
2023-06-06 17:49:36 -05:00
Ayaz Hafiz
3a25ec5322
Correctly compile mulChecked for Dec 2023-06-06 17:48:42 -05:00
Ayaz Hafiz
25f3190d33
Correctly compile subChecked for Dec 2023-06-06 17:48:42 -05:00
Ayaz Hafiz
b3966a588a
Fix compilation of addChecked for Dec 2023-06-06 17:48:41 -05:00
Ayaz Hafiz
80a98668d5
Fix type errors 2023-06-06 16:07:51 -05:00
Ayaz Hafiz
7df3d191d5
Update ability tests 2023-06-06 16:05:13 -05:00
Ayaz Hafiz
4e690103b0
Use larger stacks for some mono tests 2023-06-06 16:05:12 -05:00
Ayaz Hafiz
c0e52f9e54
Fix mono tests 2023-06-06 16:04:43 -05:00
Ayaz Hafiz
9187286580
Fix mono output 2023-06-06 16:04:42 -05:00
Ayaz Hafiz
1b9b6d89e4
Add test for specializing newtype records uniquely
Closes #5252
2023-06-06 16:04:42 -05:00
Ayaz Hafiz
a6b3656471
Begin generating newtype wrappers for struct layouts 2023-06-06 16:04:41 -05:00
Ayaz Hafiz
57bd0d29d6
Be sure to preserve layout wrappers during reification 2023-06-06 16:03:53 -05:00
Ayaz Hafiz
9a8d138424
eq_repr should chase under reprs 2023-06-06 16:03:53 -05:00
Ayaz Hafiz
5274dbcd00
Add a Newtype variant to LayoutWrapper 2023-06-06 16:03:52 -05:00
Ayaz Hafiz
457cdabc5c
Make repr private and accessible only via the interner 2023-06-06 16:01:27 -05:00
Ayaz Hafiz
100e8e34e0
Use a larger stack for a test that fails without it 2023-06-06 15:51:41 -05:00
Ayaz Hafiz
e2482c8b1d
Unused var 2023-06-06 15:48:01 -05:00
Richard Feldman
107c6b0777
Merge pull request #5518 from JTeeuwissen/DecRef-invalid-value_ptr
DecRef union clear tag id
2023-06-05 14:37:19 -04:00
Ayaz
f582057b34
Merge pull request #5498 from fdbeirao/nice-messages-for-https-errors
Nice messages for https errors
2023-06-05 09:39:58 -05:00
J.Teeuwissen
21d4b61fca
DecRef union clear tag id 2023-06-05 14:55:37 +02:00
Fábio Beirão
3482bb0108
Adjust the conditional imports to the fact that wasm doesn't use https for packages 2023-06-05 10:50:06 +02:00
Richard Feldman
612877036a
Merge pull request #5500 from roc-lang/builtin-memcpy-memset
Builtin memcpy
2023-06-04 09:27:51 -04:00
Luke Boswell
d9a5fe9034
roc format 2023-06-04 18:24:14 +10:00
Luke Boswell
c1ff49be6c
change just Json module name 2023-06-04 17:37:01 +10:00
Brendan Hansknecht
829b71aa1f
fully take ownership of memcpy in the builtins 2023-06-03 19:05:19 -07:00
Ayaz Hafiz
6702efaf29
Differentiate generating final IR and dumping it to an object in cgen
So that we can see how much time it takes to build LLVM IR vs run it
through LLVM. For the dev backends this is immaterial
2023-06-03 17:54:09 -05:00
J.Teeuwissen
d8f1b1bfe4
removed refcount type from proc 2023-06-03 19:25:13 +02:00
Brendan Hansknecht
a745b57fb2
move cpuid functions into separate assembly file 2023-06-02 16:16:40 -07:00
Brendan Hansknecht
b899b54354
change assembly comment style to hopefully fix windows 2023-06-02 15:54:08 -07:00
Brendan Hansknecht
341ef9bb7b
prefix assembly functions with _ on macos 2023-06-02 15:26:39 -07:00
Brendan Hansknecht
60babcc56e
fix typo 2023-06-02 15:23:07 -07:00
Brendan Hansknecht
7b8bd988d4
change to more specific .balign assembly attribute 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
60e70c6b1b
add workaround for wasm tests 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
8eed06c3e1
avoid repeated calls to cpuid, it is slow 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
718b7f0ce2
setup memcpy dispatch on every call for now 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
ebc6bd3f45
add more impls and memcpy 2023-06-02 15:23:05 -07:00