bjorn3
1111eb599e
Update to Cranelift 0.130
2026-03-20 10:40:44 +00:00
bjorn3
4366c22475
Remove outdated entries in clean_all.sh
2026-03-18 17:27:11 +01:00
bjorn3
989b69c6d0
Remove audit workflow
...
It is not really useful. cg_clif is meant for development only and has
relatively few dependencies. It has only ever caught an unmaintained
crate about which nothing could be done on our end as cranelift-jit
depended on it.
2026-03-18 17:10:08 +01:00
Redddy
13fc81ac2a
Add TODO checker ( #1632 )
2026-03-18 16:37:22 +01:00
bjorn3
51aa24a8a8
Rustup to rustc 1.96.0-nightly ( 3645249d7 2026-03-16)
2026-03-17 12:17:40 +00:00
bjorn3
09c177093c
Sync from rust 3645249d79
2026-03-17 11:31:28 +00:00
bjorn3
d9bd396c29
Workaround for incorrect target cpu rename in Cranelift
2026-03-17 10:32:47 +00:00
bjorn3
0b5b096ce8
Update to Cranelift 0.129
2026-03-16 16:32:39 +00:00
bors
6b8bdc95f7
Auto merge of #153166 - reddevilmidzy:codegen-tidy, r=lcnr
...
Tidy: disallow TODO in other in-tree projects
Fixes: https://github.com/rust-lang/rust/issues/152280
MCP: https://github.com/rust-lang/compiler-team/issues/963
TODO
* [x] Add ci check to `cg_clif`: https://github.com/rust-lang/rustc_codegen_cranelift/pull/1632
* [x] Add ci check to `cg_gcc`: https://github.com/rust-lang/rustc_codegen_gcc/pull/861
r? lcnr
2026-03-15 20:38:45 +00:00
Ralf Jung
5030e8119f
rename min/maxnum intrinsics to min/maximum_number and fix their LLVM lowering
2026-03-15 14:53:00 +01:00
bjorn3
5f3d696d9d
Rustup to rustc 1.96.0-nightly ( 2d76d9bc7 2026-03-09)
2026-03-11 12:41:29 +00:00
Nicholas Nethercote
f441cc675b
Move Spanned.
...
It's defined in `rustc_span::source_map` which doesn't make any sense
because it has nothing to do with source maps. This commit moves it to
the crate root, a more sensible spot for something this basic.
2026-03-11 06:25:23 +11:00
bjorn3
766c19e5c4
Sync from rust 2d76d9bc76
2026-03-10 19:21:19 +00:00
bjorn3
8fc7440cec
Fix
2026-03-10 16:04:12 +00:00
Redddy
c4a8355c96
Change TODO in compiler to FIXME
2026-03-07 12:12:33 +00:00
bjorn3
c465c7571a
Another unused feature fix
2026-03-06 22:26:22 +00:00
bjorn3
2d2c5521a2
Fix another unused feature warning
2026-03-06 15:07:59 +00:00
bjorn3
e316da9660
Fix unused feature warning
2026-03-06 14:16:48 +00:00
Ralf Jung
7cbc71ed38
libcore float tests: replace macro shadowing by const-compatible macro
2026-03-06 12:07:25 +01:00
bjorn3
263613601f
Rustup to rustc 1.96.0-nightly ( 69370dc4a 2026-03-05)
2026-03-06 10:12:51 +00:00
bjorn3
1d9aabcbd5
Sync from rust 69370dc4a8
2026-03-06 09:42:53 +00:00
bors
3c00f7da5b
Auto merge of #150447 - WaffleLapkin:maybe-dangling-semantics, r=RalfJung
...
Implement `MaybeDangling` compiler support
Tracking issue: https://github.com/rust-lang/rust/issues/118166
cc @RalfJung
2026-03-05 12:21:27 +00:00
Waffle Lapkin
5701d13840
refactor PointeeInfo
...
Make `size`/`align` always correct rather than conditionally on the
`safe` field. This makes it less error prone and easier to work with for
`MaybeDangling` / potential future pointer kinds like `Aligned<_>`.
2026-03-05 11:53:38 +01:00
bjorn3
bf69dfa024
Rustup to rustc 1.96.0-nightly ( d9563937f 2026-03-03)
2026-03-04 10:51:22 +00:00
bjorn3
9b5c962ddc
Sync from rust d9563937fa
2026-03-04 10:38:22 +00:00
bjorn3
8b478b483a
Merge pull request #1630 from CathalMullan/mach-o
...
Add leading underscore to asm symbols on Mach-O
2026-03-02 22:46:27 +01:00
Cathal Mullan
cf6e7bcf59
Add leading underscore to asm symbols on Mach-O
2026-03-02 20:56:28 +00:00
bjorn3
3047cffe92
Replace CodegenResults with CompiledModules
...
This is already CodegenResults without CrateInfo. The driver can
calculate the CrateInfo and pass it by-ref to the backend. Using
CompiledModules makes it a bit easier to move some other things out of
the backend as will be necessary for moving LTO to the link phase.
2026-03-02 16:39:41 +00:00
bjorn3
022d6959d3
Use CompiledModules inside CodegenResults
...
In preparation for fully replacing CodegenResults with CompiledModules.
2026-03-02 16:39:13 +00:00
bjorn3
e722ae6dba
Merge pull request #1628 from CathalMullan/graviola
...
Extend x86 inline asm to support `ymm` and `zmm` vector registers
2026-03-01 10:48:53 +01:00
Cathal Mullan
8c93b88076
Extend x86 inline asm to support ymm and zmm vector registers
2026-02-28 23:15:22 +00:00
bjorn3
890434af21
Fix rustc test suite
2026-02-24 16:13:56 +00:00
bjorn3
3282e2cb9c
Rustup to rustc 1.95.0-nightly ( b3869b94c 2026-02-23)
2026-02-24 16:08:32 +00:00
bjorn3
ecbe270736
Sync from rust b3869b94cd
2026-02-24 16:01:49 +00:00
Folkert de Vries
6b1ee2c701
Stabilize cfg_select
2026-02-22 19:59:25 +01:00
bjorn3
96e7213d31
Fix rustc test suite
2026-02-20 11:01:07 +00:00
bjorn3
11953d71f5
Rustup to rustc 1.95.0-nightly ( 7f99507f5 2026-02-19)
2026-02-20 10:48:58 +00:00
bjorn3
41cb621eb9
Sync from rust 7f99507f57
2026-02-20 10:41:48 +00:00
Jonathan Brouwer
f4bc203144
Rollup merge of #152799 - bjorn3:sync_cg_clif-2026-02-18, r=bjorn3
...
Subtree sync for rustc_codegen_cranelift
The highlight this time is a Cranelift update.
r? @ghost
@rustbot label +A-codegen +A-cranelift +T-compiler
2026-02-18 22:19:45 +01:00
bjorn3
ee75e9b598
Format jit-helper.py
2026-02-18 15:22:36 +00:00
bjorn3
6a1537830e
Fix broken merge
2026-02-18 15:10:37 +00:00
bjorn3
9ddb7fc60a
Merge commit 'abdb98ad4b47117ee3be17b1e43fab34f18f5805' into sync_cg_clif-2026-02-18
2026-02-18 15:02:27 +00:00
bjorn3
abdb98ad4b
Rustup to rustc 1.95.0-nightly ( 838709580 2026-02-17)
2026-02-18 14:52:59 +00:00
bjorn3
173d38e22a
Sync from rust 8387095803
2026-02-18 14:47:37 +00:00
Camille Gillot
980b31646f
Remove ShallowInitBox.
2026-02-17 11:25:50 +00:00
bjorn3
6d0aca46a8
Simplify bootstrap patches
2026-02-17 11:22:03 +00:00
bjorn3
224eef62e8
Fix rustc test suite
2026-02-17 11:22:03 +00:00
bjorn3
7964c1b78d
Rustup to rustc 1.95.0-nightly ( 3c9faa0d0 2026-02-16)
2026-02-17 11:00:57 +00:00
bjorn3
cef9cfee90
Sync from rust 3c9faa0d03
2026-02-17 10:47:17 +00:00
Stuart Cook
46c90c5113
Rollup merge of #152512 - okaneco:exact_integer, r=tgross35
...
core: Implement feature `float_exact_integer_constants`
Accepted ACP - https://github.com/rust-lang/libs-team/issues/713#issuecomment-3880122239
Tracking issue - https://github.com/rust-lang/rust/issues/152466
Implement accepted ACP for `MAX_EXACT_INTEGER` and `MIN_EXACT_INTEGER` on `f16`, `f32`, `f64`, and `f128`
Add tests to `coretests/tests/floats/mod.rs`
2026-02-17 13:02:22 +11:00