Commit graph

717 commits

Author SHA1 Message Date
Folkert
93005cf2d0
report multiple expect failures 2022-07-24 11:25:02 +02:00
Richard Feldman
daec85a75e
Merge pull request #3621 from rtfeldman/expect-memcpy
Clone more values into shared expect buffer
2022-07-23 23:00:54 -04:00
Richard Feldman
eb04d4b9f6
Merge pull request #3612 from rtfeldman/tag-alignment
Tag alignment
2022-07-23 22:45:54 -04:00
Folkert
aa08256aef
align alloca 2022-07-23 17:07:43 +02:00
Folkert
63b2b060c9
fix list non-memcopy clone 2022-07-23 15:42:46 +02:00
Folkert
954a4fbe32
WIP 2022-07-23 14:25:38 +02:00
Brendan Hansknecht
fae2ed7a2b
Merge remote-tracking branch 'origin/trunk' into gen-dev/quicksort 2022-07-22 23:28:46 -07:00
Brendan Hansknecht
fd833df649
correct aarch64 c call conv 2022-07-22 23:04:11 -07:00
Folkert
984000095f
clone structs and tags if they are copy 2022-07-23 00:15:38 +02:00
Folkert
d4feaf871b
add llvm expect cloning 2022-07-23 00:09:25 +02:00
Folkert
6d88d4106f
remove dead code 2022-07-22 21:15:41 +02:00
Folkert
6cabf11cbc
gen tests with new tag layout 2022-07-22 21:13:55 +02:00
Folkert
cd2311003e
pull out build_struct 2022-07-22 21:13:54 +02:00
Folkert
90e3021904
make pub(crate) 2022-07-22 21:13:54 +02:00
Folkert
4977d1c65e
use RocUnion constants for tag index 2022-07-22 21:13:53 +02:00
Folkert
366429303c
add RocUnion 2022-07-22 21:13:53 +02:00
Folkert
ccd8821acf
fix test panic output formatting 2022-07-22 13:33:52 +02:00
Folkert
6bfe16113d
clippy 2022-07-22 12:29:46 +02:00
Folkert
f1ce8b89a0
List.map: send the alignment of the output list element to zig 2022-07-22 12:16:54 +02:00
Folkert
d82e73fff0
ownership; always tricky 2022-07-22 12:11:32 +02:00
Folkert
ba7ffab790
make wasm test harness work with by-pointer values being returned 2022-07-22 12:09:20 +02:00
Folkert
291b77c83b
stop escaping roc panic strings in the llvm helpers 2022-07-22 12:06:44 +02:00
Folkert
9f80aa4df7
store string correctly on 32-bit platforms 2022-07-22 12:06:04 +02:00
Folkert
2fe590abf4
store list in a shorter way 2022-07-22 12:05:29 +02:00
Folkert
7e5476aa58
report panicking tests (not pretty yet) 2022-07-21 10:42:57 -04:00
Ayaz Hafiz
29b37a10df
Correctly use module name in linked functions 2022-07-21 09:02:04 -04:00
Ayaz Hafiz
2cdb951752
Compile higher-order low-level calls that take functions with no closure args
Closes #3571
2022-07-19 15:50:36 -04:00
Brendan Hansknecht
7526f7069b
Revert "use general roc store instead of specific llvm store"
Not sure why but this is wrong for some pointer reasons?

This reverts commit b190b09b78.
2022-07-18 22:35:52 -07:00
Brendan Hansknecht
057e4ea57a
ensure sret is actually pointer type instead of just assuming 2022-07-18 22:35:39 -07:00
Brendan Hansknecht
8bc6131b3d
Merge branch 'trunk' into gen-dev/quicksort 2022-07-18 22:05:45 -07:00
Brendan Hansknecht
9c35d29c24
correct sret to use the element type and not the pointer type 2022-07-18 22:04:34 -07:00
Brendan Hansknecht
b190b09b78
use general roc store instead of specific llvm store 2022-07-18 21:53:01 -07:00
Folkert
b01709c566
don't generate host-exposed functions/values in tests 2022-07-18 19:37:27 +02:00
Folkert de Vries
ca38ec4eb5
Merge pull request #3541 from rtfeldman/rocasync
Changes to get roc-async working
2022-07-18 19:22:07 +02:00
Brendan Hansknecht
837ce38066
correct parameter offset 2022-07-17 07:32:16 -07:00
Brendan Hansknecht
e0cd63d7fc
clippy fix 2022-07-16 19:03:35 -07:00
Brendan Hansknecht
08be0dc8aa
fix llvm backend c abi for parameters passed by reference on the stack 2022-07-16 16:34:51 -07:00
Folkert
b9ebd4fa27 Merge remote-tracking branch 'origin/trunk' into pretty-expect-output 2022-07-15 09:12:04 +02:00
Ayaz Hafiz
7433cc5c95
Generate alias type size for ZATs 2022-07-14 16:16:25 -04:00
Folkert de Vries
1b1b63aad0
Merge branch 'trunk' into assoc-list-dict 2022-07-14 16:47:50 +02:00
Richard Feldman
da7c7ac5f2
Merge pull request #3525 from rtfeldman/3522
Num.toStr for f32, f64, Dec
2022-07-13 21:30:05 -04:00
Folkert
06938429a1
Merge branch 'assoc-list-dict' into pretty-expect-output 2022-07-14 00:39:01 +02:00
Folkert
5763248b44
Merge remote-tracking branch 'origin/trunk' into assoc-list-dict 2022-07-13 20:44:28 +02:00
Folkert
b229c70eec
add cli test configuration 2022-07-13 19:16:36 +02:00
Richard Feldman
e744cd2a33
gen capacity operations in LLVM 2022-07-13 12:19:38 -04:00
Richard Feldman
af14efea91
Fix some comments 2022-07-13 12:19:38 -04:00
Ayaz Hafiz
66b8d145a9
Support Num.toStr for dec 2022-07-13 12:13:21 -04:00
Ayaz Hafiz
b7c312d449
Support Num.toStr for f32, f64 2022-07-13 12:13:01 -04:00
Folkert
d657a8cadc
add code to trigger an expect failure 2022-07-13 14:43:10 +02:00
Folkert
6c26d8812f
remove dict/hash stuff from the zig builtins 2022-07-13 11:59:46 +02:00