-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Sync rustc_codegen_cranelift #99720
Sync rustc_codegen_cranelift #99720
Commits on May 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d9025ce - Browse repository at this point
Copy the full SHA d9025ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 715533e - Browse repository at this point
Copy the full SHA 715533eView commit details
Commits on May 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 01ab51b - Browse repository at this point
Copy the full SHA 01ab51bView commit details
Commits on May 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7a10059 - Browse repository at this point
Copy the full SHA 7a10059View commit details
Commits on May 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6c9a06e - Browse repository at this point
Copy the full SHA 6c9a06eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 814ed4f - Browse repository at this point
Copy the full SHA 814ed4fView commit details
Commits on May 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e97e40d - Browse repository at this point
Copy the full SHA e97e40dView commit details
Commits on May 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5011ae4 - Browse repository at this point
Copy the full SHA 5011ae4View commit details
Commits on May 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d27ec6c - Browse repository at this point
Copy the full SHA d27ec6cView commit details
Commits on May 30, 2022
-
Add support for emitting functions with
coldcc
in LLVMThe eventual goal is to try using this for things like the internal panicking stuff, to see whether it helps.
Configuration menu - View commit details
-
Copy full SHA for e2f90f7 - Browse repository at this point
Copy the full SHA e2f90f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ee48c0 - Browse repository at this point
Copy the full SHA 4ee48c0View commit details
Commits on May 31, 2022
-
Add a pointer to address cast kind
A pointer to address cast are often special-cased. Introduce a dedicated cast kind to make them easy distinguishable.
Configuration menu - View commit details
-
Copy full SHA for e600875 - Browse repository at this point
Copy the full SHA e600875View commit details
Commits on Jun 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 722c724 - Browse repository at this point
Copy the full SHA 722c724View commit details
Commits on Jun 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ede985e - Browse repository at this point
Copy the full SHA ede985eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d628444 - Browse repository at this point
Copy the full SHA d628444View commit details
Commits on Jun 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7a8b96f - Browse repository at this point
Copy the full SHA 7a8b96fView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb5f237 - Browse repository at this point
Copy the full SHA eb5f237View commit details
Commits on Jun 6, 2022
-
Rename CodegenUnit::work_product to previous_work_product
It returns the previous work product or panics if there is none. This rename makes the purpose of this method clearer.
Configuration menu - View commit details
-
Copy full SHA for d5cb2be - Browse repository at this point
Copy the full SHA d5cb2beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a1a111 - Browse repository at this point
Copy the full SHA 5a1a111View commit details -
Factor Option out of copy_cgu_workproduct_to_incr_comp_cache_dir call
This improves clarity of the code a bit
Configuration menu - View commit details
-
Copy full SHA for bbb8509 - Browse repository at this point
Copy the full SHA bbb8509View commit details -
Make saved_file field of WorkProduct non-optional
A WorkProduct without a saved file is useless
Configuration menu - View commit details
-
Copy full SHA for 3d8e854 - Browse repository at this point
Copy the full SHA 3d8e854View commit details
Commits on Jun 7, 2022
-
Auto merge of rust-lang#97512 - scottmcm:add-coldcc, r=nagisa,lcnr
Add support for emitting functions with `coldcc` to LLVM The eventual goal is to try using this for things like the internal panicking stuff, to see whether it helps.
Configuration menu - View commit details
-
Copy full SHA for d8bd0a9 - Browse repository at this point
Copy the full SHA d8bd0a9View commit details -
Auto merge of rust-lang#97825 - Dylan-DPC:rollup-ya51k1k, r=Dylan-DPC
Rollup of 5 pull requests Successful merges: - rust-lang#97058 (Various refactors to the incr comp workproduct handling) - rust-lang#97301 (Allow unstable items to be re-exported unstably without requiring the feature be enabled) - rust-lang#97738 (Fix ICEs from zsts within unsized types with non-zero offsets) - rust-lang#97771 (Remove SIGIO reference on Haiku) - rust-lang#97808 (Add some unstable target features for the wasm target codegen) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Configuration menu - View commit details
-
Copy full SHA for b867d41 - Browse repository at this point
Copy the full SHA b867d41View commit details
Commits on Jun 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 74f3916 - Browse repository at this point
Copy the full SHA 74f3916View commit details -
Configuration menu - View commit details
-
Copy full SHA for 875ffa1 - Browse repository at this point
Copy the full SHA 875ffa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a298c69 - Browse repository at this point
Copy the full SHA a298c69View commit details -
There are still two failures due to incorrect test annotations
Configuration menu - View commit details
-
Copy full SHA for ec841f5 - Browse repository at this point
Copy the full SHA ec841f5View commit details
Commits on Jun 14, 2022
-
Rename the
ConstS::val
field askind
.And likewise for the `Const::val` method. Because its type is called `ConstKind`. Also `val` is a confusing name because `ConstKind` is an enum with seven variants, one of which is called `Value`. Also, this gives consistency with `TyS` and `PredicateS` which have `kind` fields. The commit also renames a few `Const` variables from `val` to `c`, to avoid confusion with the `ConstKind::Value` variant.
Configuration menu - View commit details
-
Copy full SHA for ce2b3a9 - Browse repository at this point
Copy the full SHA ce2b3a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c431540 - Browse repository at this point
Copy the full SHA c431540View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9096b3e - Browse repository at this point
Copy the full SHA 9096b3eView commit details -
Remove src_files and remove_file
They only apply to the main source archive and their role can be fulfilled through the skip argument of add_archive too.
Configuration menu - View commit details
-
Copy full SHA for fc0c753 - Browse repository at this point
Copy the full SHA fc0c753View commit details
Commits on Jun 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6d8c450 - Browse repository at this point
Copy the full SHA 6d8c450View commit details -
Rollup merge of rust-lang#97675 - nvzqz:unsized-needs-drop, r=dtolnay
Make `std::mem::needs_drop` accept `?Sized` This change attempts to make `needs_drop` work with types like `[u8]` and `str`. This enables code in types like `Arc<T>` that was not possible before, such as rust-lang#97676.
Configuration menu - View commit details
-
Copy full SHA for 449b309 - Browse repository at this point
Copy the full SHA 449b309View commit details
Commits on Jun 18, 2022
-
Rollup merge of rust-lang#98165 - WaffleLapkin:once_things_renamings,…
… r=m-ou-se once cell renamings This PR does the renamings proposed in rust-lang#74465 (comment) - Move/rename `lazy::{OnceCell, Lazy}` to `cell::{OnceCell, LazyCell}` - Move/rename `lazy::{SyncOnceCell, SyncLazy}` to `sync::{OnceLock, LazyLock}` (I used `Lazy...` instead of `...Lazy` as it seems to be more consistent, easier to pronounce, etc) ```@rustbot``` label +T-libs-api -T-libs
Configuration menu - View commit details
-
Copy full SHA for 5543d22 - Browse repository at this point
Copy the full SHA 5543d22View commit details
Commits on Jun 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for abb9b60 - Browse repository at this point
Copy the full SHA abb9b60View commit details -
Remove the source archive functionality of ArchiveWriter
We now build archives through strictly additive means rather than taking an existing archive and potentially substracting parts.
Configuration menu - View commit details
-
Copy full SHA for 73b3ae0 - Browse repository at this point
Copy the full SHA 73b3ae0View commit details
Commits on Jun 21, 2022
-
Auto merge of rust-lang#98098 - bjorn3:archive_refactor, r=michaelwoe…
…rister Remove the source archive functionality of ArchiveWriter We now build archives through strictly additive means rather than taking an existing archive and potentially substracting parts. This is simpler and makes it easier to swap out the archive writer in rust-lang#97485.
Configuration menu - View commit details
-
Copy full SHA for 92749f0 - Browse repository at this point
Copy the full SHA 92749f0View commit details
Commits on Jun 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 473e80e - Browse repository at this point
Copy the full SHA 473e80eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c58a11e - Browse repository at this point
Copy the full SHA c58a11eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d5e8f3 - Browse repository at this point
Copy the full SHA 6d5e8f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c5fbac - Browse repository at this point
Copy the full SHA 7c5fbacView commit details -
Disable DWARF debuginfo on Windows
Windows uses PDB instead of DWARF and using DWARF debuginfo causes the linker to give an error
Configuration menu - View commit details
-
Copy full SHA for 439c323 - Browse repository at this point
Copy the full SHA 439c323View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a4557e - Browse repository at this point
Copy the full SHA 8a4557eView commit details
Commits on Jun 26, 2022
-
This pulls in servo/rust-smallvec#282, which gives some small wins for rustc.
Configuration menu - View commit details
-
Copy full SHA for f516ba2 - Browse repository at this point
Copy the full SHA f516ba2View commit details
Commits on Jun 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f060ae9 - Browse repository at this point
Copy the full SHA f060ae9View commit details -
This would have caught the issue that required releasing Cranelift 0.85.1
Configuration menu - View commit details
-
Copy full SHA for 56c5c09 - Browse repository at this point
Copy the full SHA 56c5c09View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1ac2df - Browse repository at this point
Copy the full SHA c1ac2dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45b6cd6 - Browse repository at this point
Copy the full SHA 45b6cd6View commit details
Commits on Jun 30, 2022
-
Change enum->int casts to not go through MIR casts.
Instead we generate a discriminant rvalue and cast the result of that.
Configuration menu - View commit details
-
Copy full SHA for 846eecb - Browse repository at this point
Copy the full SHA 846eecbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a71e691 - Browse repository at this point
Copy the full SHA a71e691View commit details
Commits on Jul 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 14b2f8f - Browse repository at this point
Copy the full SHA 14b2f8fView commit details
Commits on Jul 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b344691 - Browse repository at this point
Copy the full SHA b344691View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8720683 - Browse repository at this point
Copy the full SHA 8720683View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8aab37 - Browse repository at this point
Copy the full SHA b8aab37View commit details
Commits on Jul 5, 2022
-
Auto merge of rust-lang#96862 - oli-obk:enum_cast_mir, r=RalfJung
Change enum->int casts to not go through MIR casts. follow-up to rust-lang#96814 this simplifies all backends and even gives LLVM more information about the return value of `Rvalue::Discriminant`, enabling optimizations in more cases.
Configuration menu - View commit details
-
Copy full SHA for 96bdb39 - Browse repository at this point
Copy the full SHA 96bdb39View commit details
Commits on Jul 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 44c2558 - Browse repository at this point
Copy the full SHA 44c2558View commit details -
incr: cache dwarf objects in work products
Cache DWARF objects alongside object files in work products when those exist so that DWARF object files are available for thorin in packed mode in incremental scenarios. Signed-off-by: David Wood <david.wood@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 69d0c1e - Browse repository at this point
Copy the full SHA 69d0c1eView commit details
Commits on Jul 8, 2022
-
Update integer_atomics tracking issue
Updates rust-lang#32976. Updates rust-lang#99069.
Configuration menu - View commit details
-
Copy full SHA for c413617 - Browse repository at this point
Copy the full SHA c413617View commit details
Commits on Jul 9, 2022
-
Rollup merge of rust-lang#99070 - tamird:update-tracking-issue, r=Ral…
…fJung Update integer_atomics tracking issue Updates rust-lang#32976. Updates rust-lang#99069. r? ``@RalfJung``
Configuration menu - View commit details
-
Copy full SHA for e151a09 - Browse repository at this point
Copy the full SHA e151a09View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9442b6 - Browse repository at this point
Copy the full SHA e9442b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f44d5fe - Browse repository at this point
Copy the full SHA f44d5feView commit details -
Configuration menu - View commit details
-
Copy full SHA for c78b438 - Browse repository at this point
Copy the full SHA c78b438View commit details -
Partially stabilize const_slice_from_raw_parts
This doesn't stabilize methods working on mutable pointers.
Configuration menu - View commit details
-
Copy full SHA for 743cee6 - Browse repository at this point
Copy the full SHA 743cee6View commit details
Commits on Jul 11, 2022
-
Keep unstable target features for asm feature checking
Inline assembly uses the target features to determine which registers are available on the current target. However it needs to be able to access unstable target features for this. Fixes rust-lang#99071
Configuration menu - View commit details
-
Copy full SHA for a7347a9 - Browse repository at this point
Copy the full SHA a7347a9View commit details
Commits on Jul 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9efccc9 - Browse repository at this point
Copy the full SHA 9efccc9View commit details
Commits on Jul 13, 2022
-
Rollup merge of rust-lang#99155 - Amanieu:unstable-target-features, r…
…=davidtwco Keep unstable target features for asm feature checking Inline assembly uses the target features to determine which registers are available on the current target. However it needs to be able to access unstable target features for this. Fixes rust-lang#99071
Configuration menu - View commit details
-
Copy full SHA for 38c321a - Browse repository at this point
Copy the full SHA 38c321aView commit details -
Auto merge of rust-lang#99210 - Dylan-DPC:rollup-879cp1t, r=Dylan-DPC
Rollup of 5 pull requests Successful merges: - rust-lang#98574 (Lower let-else in MIR) - rust-lang#99011 (`UnsafeCell` blocks niches inside its nested type from being available outside) - rust-lang#99030 (diagnostics: error messages when struct literals fail to parse) - rust-lang#99155 (Keep unstable target features for asm feature checking) - rust-lang#99199 (Refactor: remove an unnecessary `span_to_snippet`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Configuration menu - View commit details
-
Copy full SHA for 4338881 - Browse repository at this point
Copy the full SHA 4338881View commit details -
Rename
debugging_opts
tounstable_opts
This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`). Rename it to be more clear.
Configuration menu - View commit details
-
Copy full SHA for b2ae24e - Browse repository at this point
Copy the full SHA b2ae24eView commit details
Commits on Jul 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5a81bf7 - Browse repository at this point
Copy the full SHA 5a81bf7View commit details
Commits on Jul 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9ea9c09 - Browse repository at this point
Copy the full SHA 9ea9c09View commit details
Commits on Jul 17, 2022
-
Upgrade indexmap and thorin-dwp to use hashbrown 0.12
This removes the last dependencies on hashbrown 0.11.
Configuration menu - View commit details
-
Copy full SHA for f750d8b - Browse repository at this point
Copy the full SHA f750d8bView commit details -
This fixes a double-free in the `clone_from` function if dropping an existing element in the table panics. See rust-lang/hashbrown#348 for more details.
Configuration menu - View commit details
-
Copy full SHA for ec46952 - Browse repository at this point
Copy the full SHA ec46952View commit details -
Auto merge of rust-lang#99033 - 5225225:interpreter-validity-checks, …
…r=oli-obk Use constant eval to do strict mem::uninit/zeroed validity checks I'm not sure about the code organisation here, I just dumped the check in rustc_const_eval at the root. Not hard to move it elsewhere, in any case. Also, this means cranelift codegen intrinsics lose the strict checks, since they don't seem to depend on rustc_const_eval, and I didn't see a point in keeping around two copies. I also left comments in the is_zero_valid methods about "uhhh help how do i do this", those apply to both methods equally. Also rustc_codegen_ssa now depends on rustc_const_eval... is this okay? Pinging `@RalfJung` since you were the one who mentioned this to me, so I'm assuming you're interested. Haven't had a chance to run full tests on this since it's really warm, and it's 1AM, I'll check out any failures/comments in the morning :)
Configuration menu - View commit details
-
Copy full SHA for 33b297a - Browse repository at this point
Copy the full SHA 33b297aView commit details
Commits on Jul 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cff5eed - Browse repository at this point
Copy the full SHA cff5eedView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc061fa - Browse repository at this point
Copy the full SHA bc061faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fcedf6 - Browse repository at this point
Copy the full SHA 5fcedf6View commit details
Commits on Jul 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 22a0a2e - Browse repository at this point
Copy the full SHA 22a0a2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c77e2b - Browse repository at this point
Copy the full SHA 1c77e2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5cce74 - Browse repository at this point
Copy the full SHA b5cce74View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1b1722 - Browse repository at this point
Copy the full SHA a1b1722View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c9abfa - Browse repository at this point
Copy the full SHA 6c9abfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8feed7 - Browse repository at this point
Copy the full SHA f8feed7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d07ed02 - Browse repository at this point
Copy the full SHA d07ed02View commit details
Commits on Jul 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cd96988 - Browse repository at this point
Copy the full SHA cd96988View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6b602d - Browse repository at this point
Copy the full SHA a6b602dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3207c9f - Browse repository at this point
Copy the full SHA 3207c9fView commit details
Commits on Jul 24, 2022
-
Auto merge of rust-lang#99251 - cuviper:hashbrown-0.12, r=Mark-Simula…
…crum Upgrade indexmap and thorin-dwp to use hashbrown 0.12 This removes the last dependencies on hashbrown 0.11. This also upgrades to hashbrown 0.12.3 to fix a double-free (rust-lang#99372).
Configuration menu - View commit details
-
Copy full SHA for 745193d - Browse repository at this point
Copy the full SHA 745193dView commit details
Commits on Jul 25, 2022
-
Error when trying to define variadic functions
They aren't yet supported by Cranelift
Configuration menu - View commit details
-
Copy full SHA for 39ee14d - Browse repository at this point
Copy the full SHA 39ee14dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ef2ba8 - Browse repository at this point
Copy the full SHA 7ef2ba8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd2669d - Browse repository at this point
Copy the full SHA fd2669dView commit details -
Merge pull request rust-lang#1247 from bjorn3/melt_some_ice
Melt some ICE
Configuration menu - View commit details
-
Copy full SHA for 722733c - Browse repository at this point
Copy the full SHA 722733cView commit details -
This fixes a couple of potential miscompilations. None affect cg_clif on x86_64, but one may affect cg_clif on AArch64.
Configuration menu - View commit details
-
Copy full SHA for d7fc563 - Browse repository at this point
Copy the full SHA d7fc563View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e1155f - Browse repository at this point
Copy the full SHA 4e1155fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c19edfd - Browse repository at this point
Copy the full SHA c19edfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a3ed23 - Browse repository at this point
Copy the full SHA 7a3ed23View commit details -
Update list of allowed dependencies
Cranelift started depending on a couple of new crates
Configuration menu - View commit details
-
Copy full SHA for 9dc4ed8 - Browse repository at this point
Copy the full SHA 9dc4ed8View commit details