bjorn3
78b65718bc
Split compile_fn out of codegen_fn
2022-01-18 19:07:26 +01:00
bjorn3
5f6c59e63f
Pass only the Function to write_clif_file
2022-01-18 18:58:37 +01:00
Tomasz Miąsko
7ec4de3ab8
Remove deprecated LLVM-style inline assembly
2022-01-12 18:51:31 +01:00
Matthias Krüger
1da0071338
Rollup merge of #90102 - nbdd0121:box3, r=jonas-schievink
...
Remove `NullOp::Box`
Follow up of #89030 and MCP rust-lang/compiler-team#460 .
~1 month later nothing seems to be broken, apart from a small regression that #89332 (1aac85bb716c09304b313d69d30d74fe7e8e1a8e) shows could be regained by remvoing the diverging path, so it shall be safe to continue and remove `NullOp::Box` completely.
r? `@jonas-schievink`
`@rustbot` label T-compiler
2022-01-03 14:44:15 +01:00
bjorn3
799e067912
Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20
2021-12-20 18:56:35 +01:00
cynecx
dd3cb0cd75
cg_cranelift: check may_unwind flag instead of cleanup
2021-12-03 23:51:49 +01:00
cynecx
5728c165fa
LLVM codgen support for unwinding inline assembly
2021-12-03 23:51:49 +01:00
Gary Guo
0ef11587b0
Remove NullOp::Box
2021-10-20 19:42:35 +01:00
Gary Guo
1b34e2d678
Introduce Rvalue::ShallowInitBox
2021-09-25 01:08:41 +01:00
Eduard-Mihai Burtescu
e857fabac1
Querify fn_abi_of_{fn_ptr,instance}
.
2021-09-18 04:41:33 +03:00
Eduard-Mihai Burtescu
849b4c4483
ty::layout: replicate layout_of
setup for fn_abi_of_{fn_ptr,instance}
.
2021-09-18 04:41:29 +03:00
Gary Guo
4ac4980b33
Introduce NullOp::AlignOf
2021-09-13 00:08:35 +01:00
Camille GILLOT
9ad50a41fe
Move the dataflow framework to its own crate.
2021-09-07 19:57:07 +02:00
bjorn3
d220159810
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
2021-08-06 16:26:56 +02:00
bjorn3
fb92375755
Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07
2021-07-07 11:14:20 +02:00
bjorn3
d6b03451e6
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
2021-05-27 13:08:14 +02:00
Erin Power
ee570b1302
Sync rustc_codegen_cranelift 'ddd4ce25535cf71203ba3700896131ce55fde795'
2021-04-30 14:49:58 +02:00
bjorn3
07968a001d
Merge commit '0969bc6dde001e01e7e1f58c8ccd7750f8a49ae1' into sync_cg_clif-2021-03-29
2021-03-29 10:45:09 +02: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
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
27886cd6b6
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
2021-03-05 19:12:59 +01:00
Oli Scherer
b63df38a98
Shrink the size of Rvalue by 16 bytes
2021-03-05 09:33:01 +00:00
bjorn3
a75f9bc3be
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
2021-02-01 10:11:46 +01:00
bjorn3
77f74ed070
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
2020-12-27 10:30:38 +01:00
bjorn3
d404840788
Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_clif-2020-11-27
2020-11-27 20:48:53 +01:00
Bastian Kauschke
56e63805be
update cg_clif
2020-11-16 22:42:09 +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
bjorn3
3b0f3a0a1e
Optimize SwitchInt for bools
2020-08-30 13:15:53 +02:00
CohenArthur
4e685a512e
fmt: Run cargo fmt since it is available
2020-08-28 12:10:48 +02:00
bjorn3
5dec38e94c
Avoid temporary stack slot in drop codegen
...
cc #322
2020-08-25 18:32:16 +02:00
bjorn3
18348b1aec
Rustup to rustc 1.47.0-nightly ( 663d2f5cd
2020-08-22)
2020-08-23 11:50:51 +02:00
CohenArthur
7b994595da
trans_fn: Cleanup code
2020-08-22 19:05:22 +02:00
CohenArthur
05797b2476
trans_fn: Use replace() instead of new() + swap()
2020-08-22 19:03:35 +02:00
CohenArthur
d65e500394
FunctionCx: Swap context.func and empty function correctly
2020-08-22 18:53:34 +02:00
CohenArthur
0d1f8c802e
FunctionCx: Refactor fx.cx.tcx
into fx.tcx
2020-08-22 16:47:31 +02:00
CohenArthur
5cf4577352
FunctionCx: Add tcx field for easier access
2020-08-22 16:45:50 +02:00