bjorn3
430f738392
Update Cranelift for basic blocks
2020-02-14 18:23:29 +01:00
bjorn3
92d4356130
Add #[cfg(debug_assertions)] to write_clif_file
...
This silences a warning in release mode
2020-01-25 17:54:49 +01:00
bjorn3
399cada762
Directly depend on cranelift_{codegen,frontend}
...
Fixes #838
2019-12-24 12:43:20 +01:00
bjorn3
79ec8948d8
Fix some warnings
2019-12-18 20:26:41 +01:00
bjorn3
b86eb2e8ba
Some optimizations
...
* Only format global _comments when debug_assertions are enabled
* Only call build_value_labels_ranges in base.rs when debug_assertions are enabled
Benchmark #1 : CHANNEL='pre' ../cargo.sh build
Time (mean ± σ): 17.657 s ± 1.050 s [User: 31.871 s, System: 3.014 s]
Range (min … max): 16.907 s … 20.394 s 10 runs
Benchmark #2 : ../cargo.sh build
Time (mean ± σ): 16.640 s ± 0.255 s [User: 30.238 s, System: 2.965 s]
Range (min … max): 16.413 s … 17.186 s 10 runs
Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet PC without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
Summary
'../cargo.sh build' ran
1.06 ± 0.07 times faster than 'CHANNEL='pre' ../cargo.sh build'
2019-12-16 12:07:31 +01:00
bjorn3
c6086a8fd7
Rustup to rustc 1.41.0-nightly (6d77e45f0 2019-12-04)
2019-12-05 21:00:57 +01:00
bjorn3
b0de88b741
Use DisplayFunctionAnnotations::default()
2019-10-04 14:57:07 +02:00
bjorn3
bfb49e7d19
Rustup to rustc 1.39.0-nightly (6e19f3f38 2019-09-06)
2019-09-07 10:51:00 +02:00
Atul Bhosale
f481a4b685
Format code using 'cargo fmt'
2019-08-31 22:58:09 +05:30
bjorn3
2a20cc0b94
Use anonymous lifetimes where possible
2019-08-18 16:52:07 +02:00
bjorn3
9041db962d
Fix it
2019-08-11 17:06:18 +02:00
bjorn3
4d406cdcad
Rustup to rustc 1.37.0-nightly (0dc9e9c10 2019-06-15)
2019-06-16 11:13:49 +02:00
bjorn3
6d1bc088a7
Rustup to rustc 1.37.0-nightly (2887008e0 2019-06-12)
2019-06-13 20:44:40 +02:00
bjorn3
b625e56488
Rustup to rustc 1.37.0-nightly (3ade426ed 2019-05-30)
2019-05-31 10:56:55 +02:00
bjorn3
d078fde07a
Rustup to rustc 1.36.0-nightly (dec4c5201 2019-05-24)
2019-05-25 12:30:21 +02:00
bjorn3
5593bc8cd3
Update cranelift
2019-05-14 16:12:58 +02:00
bjorn3
0df3b41630
Skip ZST arguments
...
Fixes #413 and increases compatibility with cg_llvm
2019-03-26 19:53:04 +01:00
bjorn3
3d81b76566
Rustup to rustc 1.34.0-nightly (350674b71 2019-02-28)
2019-03-01 18:55:20 +01:00
bjorn3
f02490d960
Rustfmt
2019-02-21 15:06:09 +01:00
bjorn3
43f4dc6220
Fix some warnings
2019-02-06 18:49:59 +01:00
bjorn3
bebaa83c4a
Add 'set is_pic' to clif files
2018-12-28 18:48:47 +01:00
bjorn3
8561349ece
Only build clif comments in debug mode
2018-12-28 17:09:38 +01:00
bjorn3
3e40f150d0
Add some more clif comments
2018-12-27 10:59:01 +01:00
bjorn3
9882576497
Improve debug messages in generated clif files
2018-12-22 18:21:30 +01:00
bjorn3
4a69f55758
Update for cranelift change
2018-11-15 10:55:40 +01:00
bjorn3
0c42107ea6
EntityMap got renamed to SecondaryMap
2018-09-27 19:19:16 +02:00
bjorn3
d549d0f180
Update Cargo.lock
2018-09-05 19:43:42 +02:00
bjorn3
ca59e4405e
Reduce verbosity of output
2018-08-15 16:17:59 +02:00
bjorn3
178aa32b0c
Make FunctionCx generic over Backend
2018-08-14 20:31:16 +02:00
bjorn3
37b61e0ca6
Rustup to rustc 1.29.0-nightly (866a71325 2018-07-29)
2018-07-30 16:57:40 +02:00
bjorn3
a3b53eb451
Better comment handling
2018-07-20 13:51:34 +02:00
bjorn3
25fef30186
More debugging output
2018-07-14 12:21:45 +02:00
bjorn3
92b14263a4
Update to cranelift 0.14
2018-07-14 12:04:15 +02:00