Commit graph

190 commits

Author SHA1 Message Date
Folkert
541c56adb7 emit .bc to the right place in wasm + debug mode 2021-08-27 12:24:08 +02:00
Folkert
8fa4e55c74 Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-27 09:35:34 +02:00
Richard Feldman
ffeaa1ac08
Merge branch 'trunk' into store-dec-as-str 2021-08-26 21:24:56 -04:00
Folkert
36fc9b5f1f update target-lexicon 2021-08-26 21:39:33 +02:00
Folkert
8846841a95 follow the C abi for effect functions the host exposes 2021-08-25 20:47:03 +02:00
Folkert
63f89d73be attempt benchmark platform 2021-08-24 23:57:39 +02:00
Folkert
0a7f7a2772 emit LLVM IR that can be compiled to wasm 2021-08-24 20:56:13 +02:00
Folkert
459af15c8f WIP 2021-08-23 21:14:09 +02:00
Folkert
80358d14a3 update target-lexicon 2021-08-23 19:44:53 +02:00
Richard Feldman
4c72aba4a7
Merge branch 'trunk' into store-dec-as-str 2021-08-19 23:06:04 -04:00
Jared Ramirez
d69b9173fc Also store f64 for things like pattern comparisons, etc 2021-08-18 17:18:13 -07:00
Folkert
367d08814d don't have compiler generate setjmp/longjmp when building an executable 2021-08-17 22:42:03 +02:00
Folkert
a12e18ca70 add roc_panic to all hosts 2021-08-16 22:46:00 +02:00
Folkert
eb17e8de5d remove c++ linker arguments 2021-08-16 20:36:29 +02:00
Folkert
a0a0896622 a working prototype 2021-08-15 23:20:05 +02:00
Joshua Hoeflich
43c0fa9b35 Fix typo 2021-08-11 21:33:12 -05:00
Joshua Hoeflich
c3879cf5be Extract constant; cargo clippy 2021-08-11 21:30:14 -05:00
Joshua Hoeflich
bfce144e8a Make llc discoverable on $PATH on more systems 2021-08-11 20:50:55 -05:00
Joshua Hoeflich
bb5d2a3322 Cargo fmt 2021-08-07 17:57:50 -05:00
Joshua Hoeflich
77add49ed3 All tests pass on Nix OS 2021-08-07 17:31:31 -05:00
Joshua Hoeflich
f08f8d3882 Workaround missing glibc in nix-shell 2021-08-07 10:26:30 -05:00
Richard Feldman
aa71c19cf3 Clippy 2021-08-01 10:23:16 -04:00
Folkert
7601bcb2fa maybe it's good now? 2021-07-30 20:32:01 +02:00
Folkert
e805e63db6 typos 2021-07-30 16:54:22 +02:00
Folkert
bbc406a759 Revert "tweaks"
This reverts commit 5149adb2c8.
2021-07-30 14:13:35 +02:00
Richard Feldman
46beaf5855
Merge branch 'trunk' into clippy-1.54 2021-07-29 17:50:22 -04:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Richard Feldman
b697ed1ef2
Merge branch 'trunk' into cli-test-tweaks 2021-07-27 22:24:19 -04:00
Folkert
5149adb2c8 tweaks 2021-07-27 22:37:08 +02:00
Folkert
5282dbf41a fix typo 2021-07-25 22:00:52 +02:00
Richard Feldman
845145fc1f Change big_sur_path
I just updated to Big Sur, and that path didn't work for me...
but this updated one does!
2021-07-20 23:55:09 -04:00
Folkert
978cea4b8a passing tests 2021-06-28 22:28:47 +02:00
Folkert
0eba188493 WIP 2021-06-24 20:12:37 +02:00
Folkert
5ed33da026 add instname flag to debugir 2021-06-23 14:05:23 +02:00
Folkert
0d5e91eb92 fix entry points 2021-06-13 22:13:37 +02:00
Folkert
f20122e71c Merge remote-tracking branch 'origin/trunk' into update_zig 2021-06-09 14:26:35 +02:00
Richard Feldman
9fcd339af9 Set link type based on --lib flag 2021-06-08 21:58:21 -04:00
Richard Feldman
5dc0870f6a Use vanilla llvm-as 2021-06-07 22:05:00 -04:00
Folkert
8e227c7e7c update to llvm 12 2021-06-07 20:02:59 +02:00
Richard Feldman
57676057fa Rename gen to gen_llvm
This way, we have gen_dev and gen_llvm representing the two
different compiler backends.
2021-06-06 07:56:47 -04:00
Richard Feldman
5a6dc24abd Call init_arch separately from arch_str 2021-06-06 01:41:18 -04:00
Richard Feldman
b05342c678 Split out an optional "llvm" feature
Also move OptLevel out of roc_gen (which
should really be called gen_llvm) and into roc_mono,
so it's no longer coupled to LLVM.
2021-06-06 00:32:58 -04:00
Folkert
ab8abb8f11 centralize llvm logic 2021-06-02 21:28:51 +02:00
Jared Ramirez
966bb80cdc Format & rename some Nix stuff; Remove custom .envrc use nix stuff in favor of stdlib 2021-05-31 15:40:26 -07:00
Folkert
3636e18a18 centralize inkwell imports 2021-05-29 21:46:33 +02:00
Richard Feldman
3a35fe55cf Combine two conditionals, rename some stuff 2021-05-27 22:16:07 -04:00
Folkert
fbb711b2ca Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-24 15:11:40 +02:00
Richard Feldman
a7518a675a Clean up some clippy warnings 2021-05-23 20:28:23 -04:00
Folkert
9b02165f00 remove unused function 2021-05-22 19:08:25 +02:00
Folkert
558fb3e1bf clippy + top level thunks 2021-05-15 23:19:08 +02:00