bjorn3
c5a7fca527
Use DUMMY_SP in less places
...
Fixes #845
2020-01-04 17:49:00 +01:00
bjorn3
196008bee3
Disable stack2reg opt when optimizations are disabled
2019-12-31 16:43:24 +01:00
bjorn3
8b82f4f989
[WIP] Add stack2reg optimization pass
2019-12-31 15:56:28 +01:00
bjorn3
7e6d533af2
Rustup to rustc 1.42.0-nightly ( a9dd56ff9
2019-12-30)
2019-12-31 15:47:58 +01:00
bjorn3
399cada762
Directly depend on cranelift_{codegen,frontend}
...
Fixes #838
2019-12-24 12:43:20 +01:00
bjorn3
67a0fdad19
Make llvm_intrinsics a submodule of intrinsics
2019-12-23 13:57:55 +01:00
bjorn3
967709f31a
[OPT] Use load and store offsets instead of iadd_imm
2019-12-20 16:02:47 +01:00
bjorn3
d502f8e652
[OPT] Avoid calling target_triple for every call to codegen
2019-12-17 16:34:48 +01:00
bjorn3
e1613a69d4
Rustup to rustc 1.41.0-nightly ( a605441e0
2019-12-15)
2019-12-16 11:33:57 +01:00
bjorn3
cdab96d05c
Rustup to rustc 1.41.0-nightly ( 53712f863
2019-11-21)
2019-11-22 15:56:49 +01:00
bjorn3
0471ed2776
Add support for object::write
2019-10-18 18:31:38 +02:00
bjorn3
f9ff604d96
Make dylib metadata write backend agnostic
2019-10-18 18:31:38 +02:00
bjorn3
8243a370d2
Rustup to rustc 1.40.0-nightly ( fa0f7d008
2019-10-17)
2019-10-18 18:31:26 +02:00
bjorn3
f0c774e05d
Rustup to rustc 1.40.0-nightly ( 237d54ff6
2019-10-15)
2019-10-16 18:43:52 +02:00
bjorn3
75db7cc49d
Remove logfile support from unimpl.rs
...
I haven't used it in months
2019-10-06 17:36:15 +02:00
bjorn3
0f938f68a5
Rustup to rustc 1.40.0-nightly ( 2daa404e9
2019-10-02)
2019-10-03 17:22:01 +02:00
bjorn3
1b6706c924
Call cg_ssa::base::provide_both in provide{,_extern}
2019-09-28 17:01:17 +02:00
bjorn3
0db605040e
Use CallConv::triple_default instead of hard coding SystemV
...
Fixes #718
2019-09-28 17:00:27 +02:00
bjorn3
44792f1089
Rustup to rustc 1.40.0-nightly ( 084beb83e
2019-09-27)
2019-09-28 14:06:12 +02:00
bjorn3
a1bf96f630
Wrap linker invocation in time()
2019-09-22 16:21:00 +02:00
bjorn3
dbeca50901
Misc cleanup
2019-09-22 16:05:22 +02:00
bjorn3
3a7aa6c0fa
Reduce time required to build from scratch in dev mode
...
* Disable wasm reading of object
* Use tempfile bundled with rustc
* Don't optimize and don't generate debuginfo for build scripts and some
build deps
Before: 354s (5m 45s)
After: 207s (3m 27s)
2019-09-21 14:27:45 +02:00
Atul Bhosale
f481a4b685
Format code using 'cargo fmt'
2019-08-31 22:58:09 +05:30
bjorn3
d9d8c69af1
Split extract layout field of all CPlace variants into a sparate struct
2019-08-29 11:23:19 +02:00
bjorn3
2a20cc0b94
Use anonymous lifetimes where possible
2019-08-18 16:52:07 +02:00
bjorn3
32cb5b8c8e
Move discriminant get and set to discriminant.rs
2019-08-14 12:01:41 +02:00
bjorn3
883894a07a
Move trans_*_binop to num.rs
2019-08-14 11:52:39 +02:00
bjorn3
11b2b86b08
Fix some rustc tests
...
* Check for `#[rustc_error]` attribute.
* Use the same weak static type error message as cg_llvm
2019-08-13 19:42:16 +02:00
bjorn3
f02d135057
Print error for #[rustc_def_path] like expected
2019-08-13 19:39:46 +02:00
bjorn3
9041db962d
Fix it
2019-08-11 17:06:18 +02:00
bjorn3
fb3fa677fa
Call assert_module_sources
2019-08-04 13:42:03 +02:00
bjorn3
b806070a88
Fix simd_cast
2019-07-31 09:46:05 +02:00
bjorn3
1a26891170
Replace llvm intrinsics with runtime trap
2019-07-29 11:03:55 +02:00
bjorn3
bdf23c0201
Don't set opt_level to best
...
LICM is still broken
2019-07-27 16:12:48 +02:00
bjorn3
fe20f8cba6
Rustup to rustc 1.38.0-nightly ( c43753f91
2019-07-26)
2019-07-27 11:35:46 +02:00
bjorn3
0a833ba8a1
[WIP]
2019-07-26 11:32:04 +02:00
bjorn3
5180becc7c
Fix 128bit CValue::const_val
2019-07-26 11:30:39 +02:00
bjorn3
641a210ff6
Implement most 128bit binops
2019-07-26 11:29:35 +02:00
bjorn3
8c2577c747
Don't disable stdsimd anymore
...
This doesn't enable simd support. Actually using the functions will
result in a compilation error.
2019-07-20 15:33:57 +02:00
bjorn3
d0db8f0cac
Rustup
2019-07-08 09:54:18 +02:00
bjorn3
c2e6822342
Rustup to rustc 1.37.0-nightly ( 0beb2ba16
2019-07-02)
...
Also removes some unnecessary errors.
2019-07-03 16:49:47 +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
e8c50cf2c2
Read and write dylib metadata
2019-06-11 16:45:14 +02:00
bjorn3
466ecad2f0
Move CValue and CPlace to separate file and remove duplicate scalar_to_clif_type
2019-06-11 15:43:22 +02:00
bjorn3
161c8aa5cf
Rustup to rustc 1.37.0-nightly ( 7cdaffd79
2019-06-05)
2019-06-06 20:31:09 +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
0046ce4c85
Partial support for wasm32-unknown-wasi as host triple
...
This needs a rustc compiled for wasi (see rust-lang/miri#722 )
It also needs CraneStation/target-lexicon#14
2019-05-11 12:23:40 +02:00
bjorn3
bb7a990ee7
Extract driver.rs
2019-05-04 16:54:25 +02:00