Commit Graph

823 Commits

Author SHA1 Message Date
bjorn3 40cdcf0e5e Remove one usage of force_stack 2020-04-13 14:53:25 +02:00
bjorn3 8daca65e47 Rustup to rustc 1.44.0-nightly (3712e11a8 2020-04-12) 2020-04-13 13:30:39 +02:00
bjorn3 bbc0cd66b4 Update Cranelift 2020-04-13 12:54:55 +02:00
bjorn3 b6bbc0f751 Codegen goto return block as return terminator 2020-04-11 15:01:29 +02:00
bjorn3 ea1a99900e Remove unchecked_cast_to 2020-04-11 15:01:15 +02:00
bjorn3 3ef6170142 Remove CPlace::NoPlace 2020-04-11 15:01:04 +02:00
bjorn3 53307fd2e1 Introduce PointerBase::Dangling 2020-04-11 14:59:01 +02:00
bjorn3 dfb5d16fb3 Use bitcast to transmute where possible 2020-04-11 14:56:00 +02:00
bjorn3 016673b0c3 Fix rustc::internals lint warnings 2020-04-09 12:12:55 +02:00
bjorn3 291c75d10b Enable the rust_2018_idioms and unused_lifetimes lints and fix all warnings
They are set to deny by default in the rust-lang/rust repo
2020-04-09 12:12:55 +02:00
bjorn3 7d28ab8ba2 Remove the trans_const_place and TransPlaceInterpreter hack 2020-04-04 19:06:07 +02:00
bjorn3 ac1c5d6954 Rustup to rustc 1.44.0-nightly (537ccdf3a 2020-04-02) 2020-04-03 11:54:18 +02:00
bjorn3 17f99b4a96 Take Place by value instead of by reference 2020-04-02 17:23:15 +02:00
bjorn3 786c7d8d8c Rustup to rustc 1.44.0-nightly (76b11980a 2020-04-01) 2020-04-02 14:27:51 +02:00
bjorn3 e3396901c4 Update Cranelift 2020-04-01 14:19:25 +02:00
bjorn3 ab4328db43 Fix opt level names 2020-03-31 14:13:03 +02:00
bjorn3 13e3a3c8b0 Rustup to rustc 1.44.0-nightly (211365947 2020-03-30) 2020-03-31 13:20:19 +02:00
bjorn3 017a9b7641 Rustup to rustc 1.44.0-nightly (699f83f52 2020-03-29) 2020-03-30 19:00:24 +02:00
bjorn3 d2964f6a71 Rustup to rustc 1.44.0-nightly (75208942f 2020-03-27) 2020-03-28 14:20:24 +01:00
bjorn3 f6d12440aa Update Cranelift 2020-03-28 14:01:48 +01:00
bjorn3 33fd4c47aa Use 16bit simd indices 2020-03-27 16:42:28 +01:00
bjorn3 d2c5b4be68 Use vector icmp in simd_cmp! when possible 2020-03-27 16:41:05 +01:00
bjorn3 3f33fcbd30 Avoid using select in bool_to_zero_or_max_uint
It legalizes to a branch
2020-03-27 16:04:34 +01:00
bjorn3 f288959c00 Limit publicness to crate where possible and remove unused imports 2020-03-27 12:14:45 +01:00
bjorn3 b113e88ddb Fix warnings 2020-03-24 13:41:19 +01:00
bjorn3 5c9b9305b7 Update Cranelift and object 2020-03-24 13:17:03 +01:00
bjorn3 3c9ebdb194 Rustup to rustc 1.44.0-nightly (1edd389cc 2020-03-23) 2020-03-24 13:09:44 +01:00
bjorn3 6b30d508f7 Fix some FIXME's and add some new FIXME's 2020-03-21 16:52:02 +01:00
bjorn3 e9db3e7817 Avoid u/i*::{min.max}_value()
They will be deprecated in the future
2020-03-20 16:29:05 +01:00
bjorn3 a59479bd37 Add clif ir comments for stack2reg opt 2020-03-20 12:18:40 +01:00
bjorn3 52f90c6308 Update Cranelift 2020-03-19 12:09:21 +01:00
bjorn3 d464169beb Rustup to rustc 1.44.0-nightly (7ceebd98c 2020-03-17) 2020-03-18 20:12:19 +01:00
bjorn3 992fae08c4 Simplify handling of unimplemented stuff 2020-03-17 16:26:56 +01:00
bjorn3 b475199d1c [debuginfo] Fix map_reg 2020-03-17 15:30:32 +01:00
bjorn3 c7b2ffaebd Fix intrinsic name 2020-03-17 15:12:15 +01:00
bjorn3 d07c404bf4 Rename try intrinsic argument to match upstream 2020-03-17 14:53:32 +01:00
bjorn3 ebf13f1cce Rustup to rustc 1.43.0-nightly (dd6718796 2020-03-16) 2020-03-17 14:52:06 +01:00
bjorn3 643f0a1455 Remove unused import 2020-03-15 19:52:41 +01:00
bjorn3 0c1dcb0bbf Pre-allocate vec for rlib metadata reading
Reduces the time spent during the copy from ~9% to ~1% for helloworld

cc #878
2020-03-14 19:01:47 +01:00
bjorn3 5d516f9e11 Use Vec instead of HashSet for ccx.todo
This reduces runtime of ConstantCx::finalize for the coercions rustc
bench by ~65%

cc #878
2020-03-14 16:36:55 +01:00
bjorn3 efe3d84ce4 Don't lookup span position when the span hasn't changed
This improves performance of FunctionDebugContext::define by ~60%

Fixes #807
2020-03-14 15:18:04 +01:00
bjorn3 660b5c33e7 Use byte offsets instead of char offsets in debuginfo
cc #807
2020-03-14 15:10:22 +01:00
bjorn3 092cae12f9 Dont single step into macros
Fixes #782
2020-03-14 14:48:04 +01:00
bjorn3 ce4c514001 Error on allocation containing reference to TLS value
Fixes #868
2020-03-14 14:39:29 +01:00
bjorn3 10ee80c288 Write dummy return value on unimplemented simd_{insert,extract}
Fixes #919
2020-03-14 14:34:07 +01:00
bjorn3 98a073cf26 Shrink vtable symbol names a bit 2020-03-13 11:19:31 +01:00
bjorn3 4d226e8f17 Hash trap message symbol nameThis saves ~7% of disk space 2020-03-13 11:02:14 +01:00
bjorn3 1c02e6c368 Rustup to rustc 1.43.0-nightly (c20d7eecb 2020-03-11) 2020-03-12 21:04:00 +01:00
bjorn3 b469bf3b08 Refactor driver/aot.rs
Fixes #917
2020-03-12 11:58:59 +01:00
bjorn3 933ef94f63 Move aot code to driver/aot.rs 2020-03-12 11:48:17 +01:00