Commit Graph

29013 Commits

Author SHA1 Message Date
Brendan Hansknecht
82764dc697
switch to passing the copy function into zig (implement llvm) 2024-07-21 19:04:57 -07:00
Brendan Hansknecht
d028aa3c74
try a different formulation. Maybe it will avoid lookup table 2024-07-21 18:17:37 -07:00
Brendan Hansknecht
f3cae9147c
generate all static size memcpy's 2024-07-21 17:03:07 -07:00
Brendan Hansknecht
fec875d045
have zig generate more efficient copy functions 2024-07-21 14:56:21 -07:00
Brendan Hansknecht
db9a5fd261
Merge pull request #6916 from roc-lang/entry-alloca
llvm: only generate `alloca` in the entry block
2024-07-21 05:06:52 -07:00
Brendan Hansknecht
bccab34833
correct comment 2024-07-20 21:30:25 -07:00
Brendan Hansknecht
e804501a92
clippy 2024-07-20 21:21:43 -07:00
Brendan Hansknecht
703224b275
fix alloca args overwriting eachother 2024-07-20 21:14:31 -07:00
Brendan Hansknecht
a81d4b8b16
add extra test case from issue 2024-07-20 20:31:29 -07:00
Brendan Hansknecht
c5a74bdc12
for referenced values, use allocas instead of phi nodes 2024-07-20 19:52:11 -07:00
Brendan Hansknecht
ee7f1e39c7
move all allocas to the entry block 2024-07-20 19:17:11 -07:00
Brendan Hansknecht
70fa3ecdc2
Merge pull request #6911 from roc-lang/list-fix
fix slice refcounting mistakes that can modify data before a list
2024-07-18 04:12:22 -07:00
Brendan Hansknecht
2772aa4912
fix slice refcounting mistakes that can modify data before a list 2024-07-17 22:19:40 -07:00
Anton-4
2002868b56
Merge pull request #6857 from roc-lang/basic-cli-0-12-0
basic-cli 0.12.0 related updates
2024-07-17 12:43:39 +02:00
Anton-4
d704afb41f
basic-cli 0.12.0 releated updates 2024-07-17 11:59:13 +02:00
Brendan Hansknecht
5b87d82b01
Merge pull request #6907 from roc-lang/refcount-followup
Refcount followup
2024-07-16 15:25:06 -07:00
Brendan Hansknecht
2779145ec5
clarify list drop specialization state 2024-07-16 13:14:39 -07:00
Brendan Hansknecht
f6c231e259
disable some previous and still failing tests 2024-07-15 19:01:40 -07:00
Brendan Hansknecht
5dc20e0f4e
update mono tests 2024-07-15 17:25:51 -07:00
Brendan Hansknecht
ae0f445d86
A clarity around disabling list drop specialization 2024-07-15 17:12:22 -07:00
Brendan Hansknecht
50ba3071e1
disable list drop specialization 2024-07-15 17:04:32 -07:00
Luke Boswell
5cf4a4af1f
Merge pull request #6905 from roc-lang/rocresult-refcount
Add impl RocRefcounted for RocResult
2024-07-16 08:10:52 +10:00
Anton-4
7a288dd53b
Merge pull request #6893 from roc-lang/basic-cli-12-update
DO NOT MERGE YET update to basic-cli 0.12
2024-07-15 22:48:00 +02:00
Kiryl Dziamura
cf06d2ba35
Merge pull request #6904 from kdziamura/suffixed-tests-misleading-formatting 2024-07-15 20:05:49 +02:00
Brendan Hansknecht
1f5f0956b7
add basic_cli parsing based refcount test 2024-07-15 09:12:23 -07:00
Brendan Hansknecht
507d339691
fix infinite recursion in dev rc generation 2024-07-15 09:04:50 -07:00
Luke Boswell
45cca34c12
add impl RocRefcounted for RocResult 2024-07-15 14:33:19 +10:00
Kiryl Dziamura
1c01a8f0d3
remove measleading fmt code from snapshots 2024-07-14 09:52:01 +02:00
Brendan Hansknecht
0284248320
Merge pull request #6894 from roc-lang/list-size-on-heap
List refcounting perf fix: List size on heap
2024-07-13 19:30:56 -07:00
Anton-4
be4f687208
Merge pull request #6901 from roc-lang/wasm-repl-warnings
fix wasm repl warnings
2024-07-14 02:41:54 +02:00
Kiryl Dziamura
5907486182
Merge pull request #6900 from kdziamura/suffixed-snapshot-tests 2024-07-13 21:29:07 +02:00
Kiryl Dziamura
f3e91a104b
remove redundant dependency 2024-07-13 20:46:23 +02:00
Kiryl Dziamura
8b95816797
generate snapshots 2024-07-13 20:46:23 +02:00
Kiryl Dziamura
8949fc710b
use snapshots for suffixed tests 2024-07-13 20:46:22 +02:00
Brendan Hansknecht
c5c2617596
clippy 2024-07-13 10:39:59 -07:00
Brendan Hansknecht
9110457480
cleanup refcount generation for record fields 2024-07-13 10:39:59 -07:00
Brendan Hansknecht
b1eb1e2971
deal with xcode version and ld_classic 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
0533578562
add missed RocRefcounted 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
3198ed5c8e
minimal generation to get glue tests passing 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
2cd0d51409
add RocRefcounted to RocBox 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
386f7a6729
update glue fixtures to new syntax 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
6da61d0d16
re-enable glue tests and add unimplemented RocRefcounted impl 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
2fd2c25c13
guard all inc and dec calls in zig by elements_refcounted to avoid noop loops 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
9052fbd09c
fix List.sublist and add some more refcounting tests 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
6e90052000
fix typo 2024-07-13 10:39:58 -07:00
Brendan Hansknecht
8008c12a81
fix element refcounted for non-list types in dev backend 2024-07-13 10:39:57 -07:00
Brendan Hansknecht
4e8f916204
correct pointer alignment on decref 2024-07-13 10:39:57 -07:00
Brendan Hansknecht
d4b86a745b
update mono tests 2024-07-13 10:39:57 -07:00
Brendan Hansknecht
afda757433
avoid extra joinpoint and loop for list refcounting 2024-07-13 10:39:57 -07:00
Brendan Hansknecht
0d083bc192
fix dev-wasm ListGetUnsafe refcounting 2024-07-13 10:39:57 -07:00