Commit graph

4771 commits

Author SHA1 Message Date
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
Richard Feldman
b8d723edcb
Don't use CodeModel::Large anymore
This breaks certain use cases of building with --no-link
and an aarch64 target and then linking with lld (via zig cc)
(see "aarch64 linux target" thread on Zulip)

Also it seems to be unnecessary in practice on LLVM 13,
as the comment suggests!
2023-06-21 10:46:52 -04:00
Richard Feldman
9a7877cf29
Force PIC when building Zig builtins 2023-06-21 09:06:35 -04:00
Richard Feldman
44e48e1415
Build Zig builtins for aarch64 2023-06-21 08:47:38 -04:00
Richard Feldman
84542b2b02
Drop obsolete comment
There's an open design question as to whether we want to commit
to supporting this, so dropping the comment.
2023-06-21 08:46:40 -04:00
Richard Feldman
eea43daeb6
Revert "Improve backwards compatibility with old .rh files"
This reverts commit f6a6bff728.
2023-06-20 09:23:08 -04:00
Richard Feldman
f6a6bff728
Improve backwards compatibility with old .rh files 2023-06-20 09:09:38 -04:00
Richard Feldman
e6c39792be
Simplify --target CLI flag strings 2023-06-20 08:10:15 -04:00
Richard Feldman
c046d417e1
Go back to wasm32 2023-06-20 08:06:34 -04:00
Richard Feldman
1423d4f50f
Use strum_macros::EnumString for Target 2023-06-20 08:01:04 -04:00
Richard Feldman
aeca4b328e
Make a single source of truth for target strings 2023-06-20 07:48:56 -04:00
Folkert de Vries
a997280dc9
Merge pull request #5568 from JTeeuwissen/no-reuse-non-unique
Don't reuse non unique symbols
2023-06-20 00:48:53 +02:00
J.Teeuwissen
495bbfd944
updated test 2023-06-19 22:51:10 +02:00
J.Teeuwissen
315b7d73a4
non lazy 2023-06-19 21:10:00 +02:00
J.Teeuwissen
343a548458
clippy ;( 2023-06-19 19:59:55 +02:00
J.Teeuwissen
efe91da38c
Changed token order 2023-06-19 19:55:01 +02:00
J.Teeuwissen
78c1855b66
Fixed logic 2023-06-19 17:41:57 +02:00
Hannes
97fa6758d0 Rename trimLeft to trimStart and trimRight to trimEnd 2023-06-19 13:17:59 +08:00