Commit Graph

2250 Commits

Author SHA1 Message Date
bjorn3
faec12461f Use custom driver for sysroot building too
This required another custom driver to ensure that build scripts are
built using cg_llvm instead of cg_clif.

After this change only rustdoc still uses -Zcodegen-backend
2020-10-10 16:41:31 +02:00
bjorn3
c352f91b40 Rustfmt 2020-10-09 19:17:52 +02:00
bjorn3
e910a24d44
Merge pull request #1093 from bjorn3/use_new_module_interface
Use the new cranelift-module interface
2020-10-08 19:22:15 +02:00
bjorn3
0a5968dfd2 Use the new cranelift-module interface
This updates Cranelift to include bytecodealliance/wasmtime#2249
2020-10-08 19:00:21 +02:00
bjorn3
1cd63dc9b2 Update sysroot miniz_oxide 2020-10-08 13:37:02 +02:00
bjorn3
cb2dd4b5e0 Update rust-analyzer config for changed path 2020-10-05 11:14:10 +02:00
bjorn3
832b3117cc Install rustfmt by default when doing a rustup 2020-10-05 11:13:11 +02:00
bjorn3
3fc673d0a9 Rustup to rustc 1.49.0-nightly (beb5ae474 2020-10-04) 2020-10-05 11:12:41 +02:00
bjorn3
ab92638735 Rustup to rustc 1.48.0-nightly (8fe73e80d 2020-10-01) 2020-10-02 14:26:34 +02:00
bjorn3
3b60cc4eb1 Prevent usage of sccache
It doesn't detect cg_clif as a rust compiler

Fixes #1091
2020-09-30 09:16:14 +02:00
bjorn3
0c065f9560
Merge pull request #1089 from bjorn3/custom_driver
Add custom rustc driver that uses cg_clif
2020-09-29 23:52:59 +02:00
bjorn3
9a513be11a Update readme 2020-09-29 19:50:03 +02:00
bjorn3
426e55709c Replace CG_CLIF_JIT with --jit 2020-09-29 18:41:59 +02:00
bjorn3
838dd17a67 Don't read CG_CLIF_JIT from init_global_lock
In preparation to moving away from an env var
2020-09-29 18:12:23 +02:00
bjorn3
787d078fb6 Build build scripts for sysroot using cg_llvm
There is not yet a cg_clif sysroot available when building the sysroot itself
2020-09-29 18:07:19 +02:00
bjorn3
b8b5a824a6 Fix JIT 2020-09-29 15:28:48 +02:00
bjorn3
17a54ad62e Add custom driver 2020-09-29 15:16:29 +02:00
bjorn3
c046ad017f Fix panic 2020-09-29 14:11:14 +02:00
bjorn3
684c054e31 Rustup to rustc 1.48.0-nightly (fc2daaae6 2020-09-28) 2020-09-29 13:56:30 +02:00
bjorn3
a9ec4de6f2 Silence rm warning when files are not existing 2020-09-29 13:26:32 +02:00
bjorn3
c0507a63fb Invoke panic handler instead of trap for assert_* intrinsics 2020-09-29 13:22:01 +02:00
bjorn3
bcb0862703 Enable incr comp for release mode in Cargo.toml 2020-09-29 13:17:01 +02:00
bjorn3
3ece9fa92a Remove dead code 2020-09-26 11:48:26 +02:00
bjorn3
d68b50efb3 Small change to test script 2020-09-23 18:34:54 +02:00
bjorn3
8a59808b24 Improve readme 2020-09-23 16:44:02 +02:00
bjorn3
c8699076f9 Document almost all modules
Fixes #1082
2020-09-23 15:13:49 +02:00
bjorn3
934d56a646 Also allow returning PassMode::ByValPair directly into an ssa var
Benchmark #1: ./raytracer_cg_clif_pre
  Time (mean ± σ):      8.251 s ±  0.021 s    [User: 8.245 s, System: 0.005 s]
  Range (min … max):    8.225 s …  8.292 s    10 runs

Benchmark #2: ./raytracer_cg_clif_post
  Time (mean ± σ):      8.206 s ±  0.043 s    [User: 8.199 s, System: 0.007 s]
  Range (min … max):    8.168 s …  8.279 s    10 runs
2020-09-23 14:29:18 +02:00
bjorn3
a12f60126c
Merge pull request #1083 from bjorn3/fix_lld
Fix lld
2020-09-23 14:02:29 +02:00
bjorn3
94f11cc3a8 Use pcrel pointers in .eh_frame
Fixes #1055
2020-09-23 13:44:32 +02:00
bjorn3
a0f8765251 Add option to use a single section for each function 2020-09-23 09:53:41 +02:00
bjorn3
e5437b650b Update Cranelift 2020-09-23 09:53:41 +02:00
bjorn3
829a51cae3 Shorten __alloc symbol names a bit 2020-09-23 09:53:41 +02:00
bjorn3
e5b2b1ba81 Misc changes 2020-09-22 13:06:14 +02:00
bjorn3
cb3101d178 Improve rust-analyzer configuration 2020-09-22 12:36:03 +02:00
bjorn3
1add4323cf Update Cranelift 2020-09-21 19:23:39 +02:00
bjorn3
bac3464757 Fix debug build 2020-09-21 14:56:19 +02:00
bjorn3
a2c2db9cd6 Rustup to rustc 1.48.0-nightly (f68e08933 2020-09-19) 2020-09-20 16:25:14 +02:00
bjorn3
2cd8ccbea1 Don't benchmark mod_bench anymore 2020-09-18 14:45:52 +02:00
bjorn3
552991e17e Replace FxHashMap with IndexVec for local_map
Fixes #745
2020-09-16 18:45:19 +02:00
bjorn3
a18a1948e0 Remove wasmparser dependency through object 2020-09-16 17:17:57 +02:00
bjorn3
51f816f2a7 Rustfmt 2020-09-16 16:58:58 +02:00
bjorn3
b8bbbe38d1 Remove cfg-if dependency 2020-09-16 16:57:52 +02:00
bjorn3
55d4afd2ba Remove byteorder dependency 2020-09-16 16:54:58 +02:00
bjorn3
7285c134d1 Reorganize scripts 2020-09-16 16:46:02 +02:00
bjorn3
044470a726 Remove hashbrown usage
drain_filter is now supported on nightly
2020-09-15 21:00:04 +02:00
bjorn3
2d250ffa97 Fix miscompilation in previous commit 2020-09-14 11:44:53 +02:00
bjorn3
bb59d616aa Use don't unroll loop in Rvalue::Repeat
Fixes #1081
2020-09-14 11:32:27 +02:00
bjorn3
50e8f2218e Rustup to rustc 1.48.0-nightly (7402a3944 2020-09-13) 2020-09-14 10:56:37 +02:00
bjorn3
9c6921b4b6 Fix typo 2020-09-14 10:32:37 +02:00
bjorn3
171e159e64 Rustup to rustc 1.48.0-nightly (73dc675b9 2020-09-06) 2020-09-07 21:16:35 +02:00