-
Notifications
You must be signed in to change notification settings - Fork 76
Sync from rust 2024/12/11 #578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
128 commits
Select commit
Hold shift + click to select a range
12ede21
Miri function identity hack: account for possible inlining
RalfJung 014888b
Give Instance::expect_resolve a span
compiler-errors ea94385
Fix spans
compiler-errors 5b91a1a
Auto merge of #123781 - RalfJung:miri-fn-identity, r=oli-obk
bors 76f43e6
Sync ar_archive_writer to LLVM 18.1.3
bjorn3 c92f054
Merge commit '98ed962c7d3eebe12c97588e61245273d265e72f' into master
GuillaumeGomez 35c605a
Update `Cargo.lock` and remove duplicated impl
GuillaumeGomez 9a9d5ec
Remove lang feature for type ascription
compiler-errors 062ef84
Rollup merge of #124033 - bjorn3:ar_archive_writer_0_3_0, r=davidtwco
tgross35 f8bc0cc
Align cg_gcc rustfmt.toml with rust's
GuillaumeGomez a2cb29f
Format cg_gcc with same formatting parameters
GuillaumeGomez 1e117cf
stabilize `is_sorted`
slanterns d816dac
Reformat `use` declarations.
nnethercote 0e520c8
Update compiler_builtins to 0.1.114
nicholasbishop cc0ca37
Auto merge of #125016 - nicholasbishop:bishop-cb-112, r=tgross35
bors 8f3b3fe
Move temp file name generation out of the create_dll_import_lib method
bjorn3 67d7e92
Move computation of decorated names out of the create_dll_import_lib …
bjorn3 1361fdc
nontemporal_store: make sure that the intrinsic is truly just a hint
RalfJung 2e1d51d
Refactor and fill out target feature lists
calebzulawski f0bcdea
Hide implicit target features from diagnostics when possible
calebzulawski db83e29
Rollup merge of #128221 - calebzulawski:implied-target-features, r=Am…
matthiaskrgr 7969ae3
const vector passed to codegen
Jamesbarford 303aef2
Update compiler-builtins version to 0.1.118
GuillaumeGomez e8ade24
Shrink `TyKind::FnPtr`.
nnethercote 18c7d54
Fixes in various places
Nadrieril c5172fd
Rollup merge of #128149 - RalfJung:nontemporal_store, r=jieyouxu,Aman…
GuillaumeGomez 13e7329
Rollup merge of #128537 - Jamesbarford:118980-const-vector, r=RalfJun…
GuillaumeGomez dccb0fe
rename `./x test`'s `--rustc-args` to `--compiletest-rustc-args`
lqd d6c8e0f
simd_shuffle intrinsic: allow argument to be passed as vector (not ju…
RalfJung 7a151d5
make the GCC backend compatible with vector shuffle indices
RalfJung 52b5ccb
Rollup merge of #128841 - lqd:rustc-args, r=onur-ozkan
matthiaskrgr bf5d862
stabilize `asm_const`
folkertdev 1bdeb98
Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-e…
bors 5ea1a17
Rollup merge of #128570 - folkertdev:stabilize-asm-const, r=Amanieu
jieyouxu 9d12735
stabilize raw_ref_op
RalfJung f1d136b
Rollup merge of #128731 - RalfJung:simd-shuffle-vector, r=workingjubilee
tgross35 37c29b8
Use sysroot crates maximally in `rustc_codegen_gcc`.
nnethercote dd3f34c
Don't leave debug locations for constants sitting on the builder inde…
khuey 72d31e9
Remove `serialized_bitcode` from `LtoModuleCodegen`.
nnethercote 377e810
Rollup merge of #129981 - nnethercote:rm-serialize_bitcode, r=antoyo,…
workingjubilee 0f1df89
Auto merge of #130052 - khuey:clear-dilocation-after-const-emission, …
bors ec1545d
simd_shuffle: require index argument to be a vector
RalfJung 6ecaca1
Merge `HasCodegen` into `BuilderMethods`.
nnethercote 748a44b
Rename `{ArgAbi,IntrinsicCall}Methods`.
nnethercote 6beb6f8
Rename supertraits of `CodegenMethods`.
nnethercote 9ed19dc
Use associative type defaults in `{Layout,FnAbi}OfHelpers`.
nnethercote 4cae366
replace some deprecated functions
Luv-Ray 6c69e2f
Reorder `ConstMethods`.
nnethercote 62d8df5
Support clobber_abi and vector/access registers (clobber-only) in s39…
taiki-e d3903c8
Reformat using the new identifier sorting from rustfmt
compiler-errors decad31
Check vtable projections for validity in miri
compiler-errors 3862f62
Auto merge of #130389 - Luv-Ray:LLVMMDNodeInContext2, r=nikic
bors 73c192b
codegen_ssa: consolidate tied feature checking
davidtwco 83052d1
Test fixing raw-dylib
dpaoliello bd076c3
Merge commit '3187d32079b817522cc17413ec9185b130daf693' into subtree-…
GuillaumeGomez ce09fbf
Fmt
GuillaumeGomez b235273
Replace -Z default-hidden-visibility with -Z default-visibility
davidlattimore 1613531
Rollup merge of #130630 - taiki-e:s390x-clobber-abi, r=Amanieu
GuillaumeGomez e1441b7
Auto merge of #131111 - matthiaskrgr:rollup-n6do187, r=matthiaskrgr
bors ad752f6
Use wide pointers consistenly across the compiler
Urgau e0bb417
cg_gcc: Factor out rustc_target::abi
workingjubilee 2ca5753
Rollup merge of #130308 - davidtwco:tied-target-consolidation, r=wesl…
matthiaskrgr 058e02c
intrinsics.fmuladdf{16,32,64,128}: expose llvm.fmuladd.* semantics
jedbrown 4c297be
rust_for_linux: -Zregparm=<N> commandline flag for X86 (#116972)
azhogin a40da5b
Fix tests
compiler-errors cabeeeb
Rollup merge of #130432 - azhogin:azhogin/regparm, r=workingjubilee,p…
workingjubilee c12fdd2
Rename Receiver -> LegacyReceiver
adetaylor 6315254
"innermost", "outermost", "leftmost", and "rightmost" don't need hyphens
joshtriplett 9865a6c
Rollup merge of #130225 - adetaylor:rename-old-receiver, r=wesleywiser
Zalathar 7f0ca5a
coverage: SSA doesn't need to know about `instrprof_increment`
Zalathar 9f20eb7
Effects cleanup
fee1-dead 5811024
cg_gcc: `rustc_abi::Abi` => `BackendRepr`
workingjubilee 5213c6f
Support clobber_abi and vector registers (clobber-only) in PowerPC in…
taiki-e 049c24e
Rename target triple to target tuple in many places in the compiler
Noratrieb 45437fb
Reduce dependence on the target name
bjorn3 4843153
mark some target features as 'forbidden' so they cannot be (un)set
RalfJung b664093
Auto merge of #131341 - taiki-e:ppc-clobber-abi, r=bzEq,workingjubilee
bors 92c27e8
Auto merge of #129884 - RalfJung:forbidden-target-features, r=working…
bors 051b774
Basic inline assembly support for SPARC and SPARC64
taiki-e c0e98de
Rollup merge of #130586 - dpaoliello:fixrawdylib, r=wesleywiser
workingjubilee f036898
remove support for rustc_safe_intrinsic attribute; use rustc_intrinsi…
RalfJung 62c6e49
Add a default implementation for CodegenBackend::link
bjorn3 bed136f
CFI: Append debug location to CFI blocks
1c3t3a 415c502
Rollup merge of #132702 - 1c3t3a:issue-132615, r=rcvalle
matthiaskrgr 21056f8
Likely unlikely fix
x17jiri 17410a7
use `TypingEnv` when no `infcx` is available
lcnr fcbc3d9
When the required discriminator value exceeds LLVM's limits, drop the…
khuey 9cff0b1
Support input/output in vector registers of s390x inline assembly
taiki-e d6bf793
Add simd_relaxed_fma intrinsic
calebzulawski 968e79b
Make s390x non-clobber-only vector register support unstable
taiki-e 9e22b57
Support predicate registers (clobber-only) in Hexagon inline assembly
taiki-e 7c8599b
Support #[repr(simd)] types in input/output of PowerPC inline assembly
taiki-e 3ee22a4
rust_for_linux: -Zreg-struct-return commandline flag for X86 (#116973)
azhogin a3a4245
Rollup merge of #133395 - calebzulawski:simd_relaxed_fma, r=workingju…
matthiaskrgr 714c820
Rollup merge of #130777 - azhogin:azhogin/reg-struct-return, r=workin…
matthiaskrgr 2c205e1
Remove polymorphization
saethlin 691aec2
Make `Copy` unsafe to implement for ADTs with `unsafe` fields
jswrenn 562aeb4
Merge branch 'master' into sync_from_rust_2024_12_11
antoyo 3dddf72
Update nightly version
antoyo 6b25205
Update patch
antoyo 1ef84a0
Fix formatting
antoyo 526285c
Fix clippy warnings
antoyo d6aedff
Fix compilation for libgccjit12
antoyo c55f608
Fix tests
antoyo f563abf
Rename UI tests
antoyo 3cb8b1b
Fix formatting
antoyo ae84d25
Fix undefined function error
antoyo f0d9b56
WIP: Fix undefined symbol for allocator functions
antoyo 64b30d3
Merge branch 'master' into sync_from_rust_2024_12_11
antoyo e91ec42
Clean fix for undefined symbol for allocator functions
antoyo a29fd9c
Fix failures CI
antoyo 660305d
Fix simd_gather
antoyo e1439ba
Automatically detect LTO tests to remove when the sysroot is not comp…
antoyo 86a9723
Fix for simd_relaxed_fma
antoyo 530cdb4
Ignore new failing test
antoyo 02198d8
Fix a stack overflow caused by GCC creating too many local variables
antoyo 747924a
Debug global variable not initialized bug
antoyo 8bc4863
Fix for ThinLTO
antoyo 59afbe0
Fix for the relocation bug
antoyo 3f23706
Cleanup
antoyo 34ed154
Fix LTO
antoyo 93693a5
Disable the LTO warning for now
antoyo 3e4df68
Fix for m68k
antoyo 423701a
Add comment
antoyo 0d47dc0
Correctly handle the relocation model for LTO
antoyo 37a9e50
Remove LTO warning
antoyo fe608c7
Add ThinLTO test
antoyo 93f7f2f
Add LTO test
antoyo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.