Commit Graph

165 Commits

Author SHA1 Message Date
bjorn3
debd45cc7b Update to cranelift 0.91
Closes #1307
2022-12-22 14:02:47 +00:00
bjorn3
b8a3c2dd30 Sync from rust fd02567705 2022-12-04 10:26:24 +01:00
bjorn3
a54a3775c9 Update Cranelift to 0.90.1
This fixes building on FreeBSD
2022-12-01 17:46:48 +00:00
bjorn3
202bdc1ceb Update Cranelift to 0.90.0 2022-12-01 17:45:59 +00:00
bjorn3
155f569794 Update cranelift to the upcoming release-3.0.0 branch 2022-12-01 17:45:59 +00:00
bjorn3
e9115eb647 Use git version of Cranelift 2022-12-01 17:45:59 +00:00
bjorn3
5399526aee Rewrite LLVM's archive writer in Rust
This allows it to be used by other codegen backends
2022-11-26 19:35:32 +00:00
bjorn3
ddc66ffecc Make rust-analyzer run flycheck on the build system 2022-10-28 12:48:51 +00:00
bjorn3
d3fe9a8baa Update to Cranelift 0.89.1
This removes the rayon dependency that requires the previous update to
Cranelift 0.89.0 to be reverted.
2022-10-27 14:48:52 +00:00
bjorn3
9950bd1dc5 Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23 2022-10-23 16:22:55 +02:00
bjorn3
266e96785a Revert "Update to Cranelift 0.89.0"
It added a lot of extra dependencies. I opened bytecodealliance/wasmtime#5101
to remove those dependencies again.

This reverts commit da770abea3.
2022-10-23 16:16:58 +02:00
bjorn3
da770abea3 Update to Cranelift 0.89.0 2022-10-21 10:55:20 +00:00
bjorn3
fb71d8abea Update to Cranelift 0.88.1
This fixes a regression of Atomic*::compare_exchange on AArch64
2022-09-27 08:31:22 +00:00
bjorn3
72992c483c Update to Cranelift 0.88.0 2022-09-26 16:20:11 +00:00
bjorn3
eef75dde3b Update libloading to 0.7.3
This was previously done in bfcf97bd83, but got
reverted due to a bug. The bug seems to be fixed now.

Fixes #1137
2022-09-01 15:52:48 +00:00
bjorn3
cfef0a4f8d Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24 2022-08-24 18:40:58 +02:00
bjorn3
b14c7337db Update to Cranelift 0.87.0 2022-08-22 18:53:10 +00:00
Afonso Bordado
49e773183e
Update to cranelift 0.86 (#1250) 2022-07-28 21:08:05 +02:00
bjorn3
640c3f730a Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into sync_cg_clif-2022-07-25 2022-07-25 16:07:57 +02:00
bjorn3
4e1155fbf1 Sync from rust 2f320a224e 2022-07-25 16:00:44 +02:00
bjorn3
d7fc56323e Update Cranelift to 0.85.3
This fixes a couple of potential miscompilations. None affect cg_clif on
x86_64, but one may affect cg_clif on AArch64.
2022-07-25 13:50:43 +00:00
Josh Stone
f750d8ba56 Upgrade indexmap and thorin-dwp to use hashbrown 0.12
This removes the last dependencies on hashbrown 0.11.
2022-07-17 07:05:58 -07:00
bjorn3
b344691522 Sync from rust f99f9e48ed 2022-07-03 14:51:45 +02:00
bjorn3
f060ae9d3d Update to Cranelift 0.85.1
This fixes a miscompilation
2022-06-28 11:52:21 +02:00
Nicholas Nethercote
f516ba2240 Update smallvec to 1.8.1.
This pulls in https://github.com/servo/rust-smallvec/pull/282, which
gives some small wins for rustc.
2022-06-27 08:48:55 +10:00
bjorn3
7c5fbacaf9 Update Cranelift to 0.85.0 2022-06-23 15:19:54 +02:00
bjorn3
6c9a06e37d Update Cranelift and object 2022-05-20 16:44:20 +02:00
bjorn3
d9025cebac Merge commit '63734fcdd718cca089f84c42f3a42c0096cfd431' into sync_cg_clif-2022-05-15 2022-05-15 12:32:19 +02:00
bjorn3
f449c0d175 Remove profile overrides for build scripts and their dependencies
Cargo now disables optimizations for build scripts by default anyway, so
they aren't really useful anymore.
2022-04-30 14:09:03 +02:00
bjorn3
32202f20cd Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into sync_cg_clif-2022-04-22 2022-04-22 21:11:38 +02:00
bjorn3
a177a7f9df Update Cranelift to 0.83.0 2022-04-21 19:22:12 +02:00
bjorn3
d1904e5855 Merge commit '370c397ec9169809e5ad270079712e0043514240' into sync_cg_clif-2022-03-20 2022-03-20 16:55:21 +01:00
bjorn3
88c3719c68 Avoid once_cell unstable feature in cg_clif.rs 2022-03-15 19:25:33 +01:00
bjorn3
fef517eae7 Remove almost all remaining feature gates
Only rustc_private is still enabled as cg_clif by definition needs to
use internal rustc api's.
2022-03-13 17:55:55 +01:00
bjorn3
d2026d679e Update Cranelift to 0.82.1
This fixes a miscompilation
2022-03-10 14:50:09 +01:00
bjorn3
3ccf12acdd Update Cranelift to 0.82.0 2022-03-08 20:01:48 +01:00
bjorn3
b5cbb87e62 Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23 2022-02-23 11:49:34 +01:00
bjorn3
75a463a583 Update Cranelift to 0.81.0 2022-02-08 18:24:50 +01:00
bjorn3
2d32e51d86 Sync from rust a00e130dae 2022-01-30 13:25:57 +01:00
pierwill
2c26139bbc Use an indexmap to avoid sorting LocalDefIds
Update `indexmap` to 1.8.0.

Bless test
2022-01-22 22:34:16 -06:00
bjorn3
759c4ac08f Update to Cranelift 0.80.0 2022-01-10 12:26:03 +01:00
bjorn3
e4fff03d40 Update Cranelift to 0.79.1
This version fixes the regressions in 0.79.0
2022-01-05 12:22:23 +01:00
bjorn3
a5a14258e5 Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into sync_cg_clif-2021-12-30 2021-12-30 14:53:41 +01:00
bjorn3
c63d8f3f96 Move incr comp enable to the build system 2021-12-30 13:03:32 +01:00
bjorn3
f97670a315 Don't enable optimizations in the dev profile
I rarely use the dev profile anyway.
2021-12-30 13:01:38 +01:00
bjorn3
799e067912 Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20 2021-12-20 18:56:35 +01:00
bjorn3
f505157f2c Revert "Update Cranelift to 0.79.0"
This reverts commit a1037fad7d.

There are two regressions in Cranelift with respect to small integer
operations. Both have already been fixed on thebmain branch, but we will
have to wait for a new Cranelift release. They have been fixed by
bytecodealliance/wasmtime#3610 and bytecodealliance/wasmtime#3617.
2021-12-17 23:23:17 +01:00
bjorn3
b532f13ad0 Update cranelift patch section 2021-12-17 10:59:00 +01:00
bjorn3
a1037fad7d Update Cranelift to 0.79.0 2021-12-16 18:57:25 +01:00
bjorn3
977e884acf Use crates.io releases of Cranelift
I originally switched the Cranelift dependencies to use git as cg_clif
required a lot of new Cranelift features. With crates.io dependencies I
would have to wait for a new release every time. With git dependencies I
could start using the new features as soon as they were merged.
Currently there aren't a lot of new Cranelift features necessary anymore
and those that are useful are no longer blocking compilation of lots of
crates. There was some concern expressed about using git dependencies in
the main rust repo, so all together I think it is best to switch to
crates.io releases and if necessary wait a bit before merging changes
requiring newer Cranelift commits.
2021-10-29 16:22:47 +02:00