-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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 #105713
Sync rustc_codegen_cranelift #105713
Commits on Oct 8, 2022
-
Auto merge of rust-lang#2583 - RalfJung:rustup, r=oli-obk
initial josh subtree sync This demonstrates what a josh-based rustup would look like with my patched josh. To create it I did ``` git fetch http://localhost:8000/rust-lang/rust.git:start=75dd959a3a40eb5b4574f8d2e23aa6efbeb33573[:prefix=src/tools/miri]:/src/tools/miri.git master git merge FETCH_HEAD ./rustup-toolchain HEAD && ./miri fmt git commit -am rustup ``` Unlike the [previous attempt](rust-lang/miri#2554), this does not add a new root commit to the repo. Once we merge this, we committed to using josh for subtree syncing, and in particular a version of josh that includes josh-project/josh#961 (or something compatible).
Configuration menu - View commit details
-
Copy full SHA for 31792f1 - Browse repository at this point
Copy the full SHA 31792f1View commit details
Commits on Oct 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 55fe2b3 - Browse repository at this point
Copy the full SHA 55fe2b3View commit details
Commits on Oct 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1e720cd - Browse repository at this point
Copy the full SHA 1e720cdView commit details
Commits on Oct 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9950bd1 - Browse repository at this point
Copy the full SHA 9950bd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4029785 - Browse repository at this point
Copy the full SHA 4029785View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63d1bf9 - Browse repository at this point
Copy the full SHA 63d1bf9View commit details
Commits on Oct 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b345c1e - Browse repository at this point
Copy the full SHA b345c1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3311e4 - Browse repository at this point
Copy the full SHA e3311e4View commit details
Commits on Oct 25, 2022
-
Auto merge of rust-lang#103392 - RalfJung:miri, r=oli-obk
update Miri I had to use a hacked version of josh to create this, so let's be careful with merging this and maybe wait a bit to see if the josh issue becomes more clear. But the history looks good to me, we are not adding duplicates of rustc commits that were previously mirrored to Miri. Also I want to add some cross-testing of Miri in x.py.
Configuration menu - View commit details
-
Copy full SHA for 5e18725 - Browse repository at this point
Copy the full SHA 5e18725View commit details
Commits on Oct 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 43d3e92 - Browse repository at this point
Copy the full SHA 43d3e92View commit details
Commits on Oct 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 33a92bc - Browse repository at this point
Copy the full SHA 33a92bcView commit details -
This removes the rayon dependency that requires the previous update to Cranelift 0.89.0 to be reverted.
Configuration menu - View commit details
-
Copy full SHA for d3fe9a8 - Browse repository at this point
Copy the full SHA d3fe9a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5513583 - Browse repository at this point
Copy the full SHA 5513583View commit details
Commits on Oct 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a24213d - Browse repository at this point
Copy the full SHA a24213dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd8be32 - Browse repository at this point
Copy the full SHA bd8be32View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddc66ff - Browse repository at this point
Copy the full SHA ddc66ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for f17dbfc - Browse repository at this point
Copy the full SHA f17dbfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0ba71e - Browse repository at this point
Copy the full SHA e0ba71eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c57aacf - Browse repository at this point
Copy the full SHA c57aacfView commit details
Commits on Oct 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 777d473 - Browse repository at this point
Copy the full SHA 777d473View commit details
Commits on Oct 31, 2022
-
Rewrite implementation of
#[alloc_error_handler]
The new implementation doesn't use weak lang items and instead changes `#[alloc_error_handler]` to an attribute macro just like `#[global_allocator]`. The attribute will generate the `__rg_oom` function which is called by the compiler-generated `__rust_alloc_error_handler`. If no `__rg_oom` function is defined in any crate then the compiler shim will call `__rdl_oom` in the alloc crate which will simply panic. This also fixes link errors with `-C link-dead-code` with `default_alloc_error_handler`: `__rg_oom` was previously defined in the alloc crate and would attempt to reference the `oom` lang item, even if it didn't exist. This worked as long as `__rg_oom` was excluded from linking since it was not called. This is a prerequisite for the stabilization of `default_alloc_error_handler` (rust-lang#102318).
Configuration menu - View commit details
-
Copy full SHA for b166ad0 - Browse repository at this point
Copy the full SHA b166ad0View commit details
Commits on Nov 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 736fac8 - Browse repository at this point
Copy the full SHA 736fac8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 051b6dd - Browse repository at this point
Copy the full SHA 051b6ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 449f95b - Browse repository at this point
Copy the full SHA 449f95bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7941cba - Browse repository at this point
Copy the full SHA 7941cbaView commit details
Commits on Nov 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0b37af8 - Browse repository at this point
Copy the full SHA 0b37af8View commit details
Commits on Nov 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b5523e3 - Browse repository at this point
Copy the full SHA b5523e3View commit details
Commits on Nov 9, 2022
-
Fix
rustdoc --version
when used with download-rustcPreviously, rustdoc would unconditionally report the version that *rustc* was compiled with. That showed things like `nightly-2022-10-30`, which wasn't right, since this was a `dev` build compiled from source. Fix it by changing `rustc_driver::version` to a macro expanded at invocation time.
Configuration menu - View commit details
-
Copy full SHA for ade426f - Browse repository at this point
Copy the full SHA ade426fView commit details
Commits on Nov 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d1e499a - Browse repository at this point
Copy the full SHA d1e499aView commit details
Commits on Nov 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f5caaea - Browse repository at this point
Copy the full SHA f5caaeaView commit details
Commits on Nov 15, 2022
-
Auto merge of rust-lang#104054 - RalfJung:byte-provenance, r=oli-obk
interpret: support for per-byte provenance Also factors the provenance map into its own module. The third commit does the same for the init mask. I can move it in a separate PR if you prefer. Fixes rust-lang/miri#2181 r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for 03e3cc5 - Browse repository at this point
Copy the full SHA 03e3cc5View commit details
Commits on Nov 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2d0c41a - Browse repository at this point
Copy the full SHA 2d0c41aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 268219d - Browse repository at this point
Copy the full SHA 268219dView commit details
Commits on Nov 17, 2022
-
Use custom entry name in cranelift
This is a continuation of 9f0a862 for cranelift. Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6ee9712 - Browse repository at this point
Copy the full SHA 6ee9712View commit details
Commits on Nov 19, 2022
-
Rollup merge of rust-lang#104001 - Ayush1325:custom-entry, r=bjorn3
Improve generating Custom entry function This commit is aimed at making compiler-generated entry functions (Basically just C `main` right now) more generic so other targets can do similar things for custom entry. This was initially implemented as part of rust-lang#100316. Currently, this moves the entry function name and Call convention to the target spec. Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5fd3e4d - Browse repository at this point
Copy the full SHA 5fd3e4dView commit details -
deduplicate constant evaluation in cranelift backend
also sync LLVM and cranelift structure a bit
Configuration menu - View commit details
-
Copy full SHA for a3c89a7 - Browse repository at this point
Copy the full SHA a3c89a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6b54a5 - Browse repository at this point
Copy the full SHA d6b54a5View commit details
Commits on Nov 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for be1006b - Browse repository at this point
Copy the full SHA be1006bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9723c79 - Browse repository at this point
Copy the full SHA 9723c79View commit details
Commits on Nov 21, 2022
-
Rollup merge of rust-lang#104605 - RalfJung:clf_consts, r=bjorn3
deduplicate constant evaluation in cranelift backend The cranelift backend had two matches on `ConstantKind`, which can be avoided, and used this `eval_for_mir` that nothing else uses... this makes things more consistent with the (better-tested) LLVM backend. I noticed this because cranelift was the only user of `eval_for_mir`. However `try_eval_for_mir` still has one other user in `eval`... the odd thing is that the interpreter has its own `eval_mir_constant` which seems to duplicate the same functionality and does not use `try_eval_for_mir`. No idea what is happening here. r? ``@bjorn3`` Cc ``@lcnr``
Configuration menu - View commit details
-
Copy full SHA for d3817e2 - Browse repository at this point
Copy the full SHA d3817e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf92372 - Browse repository at this point
Copy the full SHA cf92372View commit details -
Configuration menu - View commit details
-
Copy full SHA for a449d0d - Browse repository at this point
Copy the full SHA a449d0dView commit details
Commits on Nov 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d23eb65 - Browse repository at this point
Copy the full SHA d23eb65View commit details -
Configuration menu - View commit details
-
Copy full SHA for d30c1dd - Browse repository at this point
Copy the full SHA d30c1ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24ebf42 - Browse repository at this point
Copy the full SHA 24ebf42View commit details
Commits on Nov 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bcee07e - Browse repository at this point
Copy the full SHA bcee07eView commit details
Commits on Nov 24, 2022
-
Auto merge of rust-lang#104507 - WaffleLapkin:asderefsyou, r=wesleywiser
Use `as_deref` in compiler (but only where it makes sense) This simplifies some code :3 (there are some changes that are not exacly `as_deref`, but more like "clever `Option`/`Result` method use")
Configuration menu - View commit details
-
Copy full SHA for 982798f - Browse repository at this point
Copy the full SHA 982798fView commit details
Commits on Nov 26, 2022
-
Rollup merge of rust-lang#104786 - WaffleLapkin:amp-mut-help, r=compi…
…ler-errors Use the power of adding helper function to simplify code w/ `Mutability` r? `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for 69a7692 - Browse repository at this point
Copy the full SHA 69a7692View commit details -
Rewrite LLVM's archive writer in Rust
This allows it to be used by other codegen backends
Configuration menu - View commit details
-
Copy full SHA for 5399526 - Browse repository at this point
Copy the full SHA 5399526View commit details
Commits on Nov 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a085a2a - Browse repository at this point
Copy the full SHA a085a2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef6400d - Browse repository at this point
Copy the full SHA ef6400dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1367983 - Browse repository at this point
Copy the full SHA 1367983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75838d9 - Browse repository at this point
Copy the full SHA 75838d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f851dfa - Browse repository at this point
Copy the full SHA f851dfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdae9ba - Browse repository at this point
Copy the full SHA cdae9baView commit details -
Merge pull request rust-lang#1297 from bjorn3/aarch64_simd
Implement some AArch64 SIMD intrinsics
Configuration menu - View commit details
-
Copy full SHA for f99140e - Browse repository at this point
Copy the full SHA f99140eView commit details -
Merge pull request rust-lang#1298 from bjorn3/build_system_rework3
Introduce CargoProject type and use it where possible
Configuration menu - View commit details
-
Copy full SHA for a00c7a0 - Browse repository at this point
Copy the full SHA a00c7a0View commit details
Commits on Nov 28, 2022
-
Rename the build/ directory to dist/
This will allow putting all temporary build artifacts in build/ in the future, keeping all the build output artifacts in dist/
Configuration menu - View commit details
-
Copy full SHA for 26d48c9 - Browse repository at this point
Copy the full SHA 26d48c9View commit details -
This is necessary for the mutex implementation of libstd when there is contention. Seems like I hadn't hit this before by sheer luck.
Configuration menu - View commit details
-
Copy full SHA for 052d5cc - Browse repository at this point
Copy the full SHA 052d5ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c21990 - Browse repository at this point
Copy the full SHA 9c21990View commit details
Commits on Nov 29, 2022
-
Merge pull request rust-lang#1300 from bjorn3/rename_build_to_dist
Rename the build/ directory to dist/
Configuration menu - View commit details
-
Copy full SHA for 70ba23b - Browse repository at this point
Copy the full SHA 70ba23bView commit details
Commits on Dec 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3cf8994 - Browse repository at this point
Copy the full SHA 3cf8994View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6768d0d - Browse repository at this point
Copy the full SHA 6768d0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16a2641 - Browse repository at this point
Copy the full SHA 16a2641View commit details -
Configuration menu - View commit details
-
Copy full SHA for 777106a - Browse repository at this point
Copy the full SHA 777106aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9115eb - Browse repository at this point
Copy the full SHA e9115ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae98a2f - Browse repository at this point
Copy the full SHA ae98a2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83dc7d1 - Browse repository at this point
Copy the full SHA 83dc7d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3df425e - Browse repository at this point
Copy the full SHA 3df425eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 155f569 - Browse repository at this point
Copy the full SHA 155f569View commit details -
Configuration menu - View commit details
-
Copy full SHA for 202bdc1 - Browse repository at this point
Copy the full SHA 202bdc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a54a377 - Browse repository at this point
Copy the full SHA a54a377View commit details -
Merge pull request rust-lang#1295 from bjorn3/update_cranelift
Update Cranelift to 0.90.0
Configuration menu - View commit details
-
Copy full SHA for 450257c - Browse repository at this point
Copy the full SHA 450257cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e97a39 - Browse repository at this point
Copy the full SHA 5e97a39View commit details -
Configuration menu - View commit details
-
Copy full SHA for e75dfef - Browse repository at this point
Copy the full SHA e75dfefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4529979 - Browse repository at this point
Copy the full SHA 4529979View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82b2d8e - Browse repository at this point
Copy the full SHA 82b2d8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7b02c3 - Browse repository at this point
Copy the full SHA d7b02c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 702a293 - Browse repository at this point
Copy the full SHA 702a293View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6ac5a3 - Browse repository at this point
Copy the full SHA b6ac5a3View commit details -
Merge pull request rust-lang#1302 from bjorn3/build_system_rework4
Allow specifying where build artifacts should be written to
Configuration menu - View commit details
-
Copy full SHA for f73b0b1 - Browse repository at this point
Copy the full SHA f73b0b1View commit details
Commits on Dec 2, 2022
-
Fix crash with TAIT in the call codegen code
The new logic is closer to what cg_llvm does. Fixes rust-lang#1240
Configuration menu - View commit details
-
Copy full SHA for 04eaaa0 - Browse repository at this point
Copy the full SHA 04eaaa0View commit details -
Switch Linux runner to ubuntu-20.04 to unbreak CI
Earlier today CI started to fail on Linux with a crash during the jit mode. Turns out ubuntu-latest switched from ubuntu-20.04 to ubuntu-22.04. Let's switch back to ubuntu-20.04 for now to unbreak CI until I figured out the root cause. cc rust-lang#1303
Configuration menu - View commit details
-
Copy full SHA for f845eaf - Browse repository at this point
Copy the full SHA f845eafView commit details
Commits on Dec 3, 2022
-
Auto merge of rust-lang#97485 - bjorn3:new_archive_writer, r=wesleywiser
Rewrite LLVM's archive writer in Rust This allows it to be used by other codegen backends. Fixes https://github.com/bjorn3/rustc_codegen_cranelift/issues/1155
Configuration menu - View commit details
-
Copy full SHA for f1dc349 - Browse repository at this point
Copy the full SHA f1dc349View commit details -
Configuration menu - View commit details
-
Copy full SHA for e12a882 - Browse repository at this point
Copy the full SHA e12a882View commit details
Commits on Dec 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b8a3c2d - Browse repository at this point
Copy the full SHA b8a3c2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63fab51 - Browse repository at this point
Copy the full SHA 63fab51View commit details
Commits on Dec 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 34336b8 - Browse repository at this point
Copy the full SHA 34336b8View commit details
Commits on Dec 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8f9a048 - Browse repository at this point
Copy the full SHA 8f9a048View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef1cb95 - Browse repository at this point
Copy the full SHA ef1cb95View commit details -
Fix for "Support Option and similar enums as type of static variable …
…with linkage attribute" cc rust-lang#104799
Configuration menu - View commit details
-
Copy full SHA for 21f4355 - Browse repository at this point
Copy the full SHA 21f4355View commit details -
Configuration menu - View commit details
-
Copy full SHA for a89cef5 - Browse repository at this point
Copy the full SHA a89cef5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e10f1a - Browse repository at this point
Copy the full SHA 7e10f1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7c76ad - Browse repository at this point
Copy the full SHA f7c76adView commit details
Commits on Dec 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e3d70e2 - Browse repository at this point
Copy the full SHA e3d70e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e772b8 - Browse repository at this point
Copy the full SHA 6e772b8View commit details
Commits on Dec 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 08ba5d4 - Browse repository at this point
Copy the full SHA 08ba5d4View commit details -
Explicitly provide dummy git author name and email
This avoids the need to tell git beforehand about your name and email
Configuration menu - View commit details
-
Copy full SHA for a45924c - Browse repository at this point
Copy the full SHA a45924cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bb3996 - Browse repository at this point
Copy the full SHA 2bb3996View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9496999 - Browse repository at this point
Copy the full SHA 9496999View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13e33c0 - Browse repository at this point
Copy the full SHA 13e33c0View commit details