bjorn3
|
29a4a551eb
|
Rustfmt
|
2021-04-12 12:09:05 +02:00 |
|
bjorn3
|
2ceb527728
|
Remove the cold block optimization
It isn't effective with the new backend framework
|
2021-03-31 12:42:30 +02:00 |
|
bjorn3
|
94b51d14e6
|
Make all compiler-builtins symbols hidden
This matches cg_llvm
Fixes #1152
|
2021-03-27 17:32:41 +01:00 |
|
bjorn3
|
73626efb26
|
Rustfmt
|
2021-03-21 10:05:48 +01:00 |
|
bjorn3
|
56fe51cb36
|
Update Cranelift
|
2021-03-21 10:05:22 +01:00 |
|
bjorn3
|
0069007d5b
|
Avoid nightly feature usage where easily possible
|
2021-03-18 12:23:55 +01:00 |
|
bjorn3
|
6a0ce7f6bb
|
Sync from rust 04ae50179a802d1d18bb780baa85f55864f56616
|
2021-03-17 18:36:30 +01:00 |
|
bjorn3
|
578fcdef5f
|
Special case ZST's in Rvalue::Repeat
Fixes #1146 by preventing a hang for [(); usize::MAX], which is used in
a test of libcore.
|
2021-03-15 10:22:29 +01:00 |
|
kadmin
|
d30c497de6
|
Build StKind::CopyOverlapping
This replaces where it was previously being constructed in intrinsics, with direct construction
of the Statement.
|
2021-03-09 16:54:14 +00:00 |
|
kadmin
|
83e6251f21
|
Update cranelift
|
2021-03-09 16:54:14 +00:00 |
|
bjorn3
|
6ef48e9cb4
|
Sync from rust 4b9f5cc4c10a161047475cb9bbe02c4fda57fb07
|
2021-03-09 10:10:40 +01:00 |
|
bors
|
7f020206e8
|
Auto merge of #82727 - oli-obk:shrinkmem, r=pnkfelix
Test the effect of shrinking the size of Rvalue by 16 bytes
r? `@ghost`
|
2021-03-08 08:39:24 +00:00 |
|
bjorn3
|
cecd7a9ae6
|
Add clif comments when in release mode
Fixes #1130
|
2021-03-06 18:45:04 +01:00 |
|
bjorn3
|
27886cd6b6
|
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
|
2021-03-05 19:12:59 +01:00 |
|
bjorn3
|
5e736293b3
|
Rustfmt
|
2021-03-05 11:21:44 +01:00 |
|
Oli Scherer
|
b63df38a98
|
Shrink the size of Rvalue by 16 bytes
|
2021-03-05 09:33:01 +00:00 |
|
bjorn3
|
73d3a1c14a
|
Use dynamic dispatch for the inner Module
This improves compilation time and shrinks the linked backend from
13MB to 9.7MB on Linux.
|
2021-02-23 18:49:37 +01:00 |
|
bjorn3
|
ecba16f296
|
Various enum to int cast fixes
|
2021-02-21 16:52:42 +01:00 |
|
bjorn3
|
0610490c8d
|
Assume constants can't fail to evaluate
See rust-lang/rust#81327 for the same change to cg_llvm
|
2021-02-21 13:58:56 +01:00 |
|
bjorn3
|
92f765fce9
|
Remove support for x86 oldBE
|
2021-02-18 18:07:25 +01:00 |
|
bjorn3
|
a75f9bc3be
|
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
|
2021-02-01 10:11:46 +01:00 |
|
bjorn3
|
139a6d12de
|
Fix 128bit checked math intrinsic calls
|
2021-01-30 11:02:24 +01:00 |
|
bjorn3
|
aa23f862dc
|
Remove vararg support check
This check wasn't very useful and removing it simplifies the code.
|
2021-01-27 10:32:56 +01:00 |
|
bjorn3
|
fc595f1a55
|
[WIP] Use FnAbi everywhere instead of our own abi calculations
|
2021-01-26 21:41:20 +01:00 |
|
bjorn3
|
4555737152
|
Split symbol name and signature calculation
|
2021-01-26 15:11:03 +01:00 |
|
bjorn3
|
cfedad1f75
|
Clear domtree after cg_clif optimizations
|
2021-01-16 13:05:23 +01:00 |
|
bjorn3
|
77f74ed070
|
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
|
2020-12-27 10:30:38 +01:00 |
|
bjorn3
|
dbee13661e
|
Rustfmt
|
2020-12-25 12:48:19 +01:00 |
|
bjorn3
|
44b331047d
|
Also emit vcode when emitting clif ir while using new style backends
|
2020-12-14 12:54:18 +01:00 |
|
bjorn3
|
994b91ac73
|
Optimize branches when the target is statically known to a jump
This can happen in generic code
|
2020-12-09 19:55:11 +01:00 |
|
bjorn3
|
d404840788
|
Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_clif-2020-11-27
|
2020-11-27 20:48:53 +01:00 |
|
bjorn3
|
41047de9e2
|
Rustfmt
|
2020-11-23 11:49:06 +01:00 |
|
bjorn3
|
77e90f1cb5
|
Sync from rust 539402cb0b0f1639a4be14e40eaf8db61a62ae41
|
2020-11-21 18:43:51 +01:00 |
|
Bastian Kauschke
|
56e63805be
|
update cg_clif
|
2020-11-16 22:42:09 +01:00 |
|
bjorn3
|
4e547b942d
|
Move some things from codegen_mono_item to trans_fn
|
2020-11-12 17:08:51 +01:00 |
|
bjorn3
|
4da67855f1
|
Rustfmt
|
2020-11-06 19:50:30 +01:00 |
|
oli
|
5fa1c8f91a
|
u128 truncation and sign extension are not just interpreter related
|
2020-11-04 13:41:58 +00:00 |
|
oli
|
7e8b15e050
|
Fix cranelift build
|
2020-11-04 10:10:44 +00:00 |
|
bjorn3
|
285c7c66dc
|
Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020-11-01
|
2020-11-03 11:00:04 +01:00 |
|
bjorn3
|
a233646dfc
|
Rustup to rustc 1.49.0-nightly (e160e5cb8 2020-10-14)
|
2020-10-15 10:34:13 +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
|
c0507a63fb
|
Invoke panic handler instead of trap for assert_* intrinsics
|
2020-09-29 13:22:01 +02:00 |
|
bjorn3
|
c8699076f9
|
Document almost all modules
Fixes #1082
|
2020-09-23 15:13:49 +02:00 |
|
bjorn3
|
bac3464757
|
Fix debug build
|
2020-09-21 14:56:19 +02:00 |
|
bjorn3
|
552991e17e
|
Replace FxHashMap with IndexVec for local_map
Fixes #745
|
2020-09-16 18:45:19 +02:00 |
|
bjorn3
|
51f816f2a7
|
Rustfmt
|
2020-09-16 16:58:58 +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
|
9c6921b4b6
|
Fix typo
|
2020-09-14 10:32:37 +02:00 |
|
bjorn3
|
217b3818b7
|
Rustup to rustc 1.48.0-nightly (c59199efc 2020-09-04)
|
2020-09-05 10:38:49 +02:00 |
|