Skip to content
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

Rollup of 10 pull requests #93009

Merged
merged 32 commits into from
Jan 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
470b49b
Clarify how to quote and respond to the target tier policy requirements
joshtriplett Nov 2, 2021
9a016ba
Clarify dependency requirements in the face of cross-compilation
joshtriplett Nov 2, 2021
1aeb3f9
Clarify documentation about running binaries
joshtriplett Nov 2, 2021
10420ef
Point to platform-support/ for target-specific documentation
joshtriplett Nov 2, 2021
f863e4c
Add a template for target-specific documentation
joshtriplett Nov 2, 2021
5ab40c8
Implement `#[rustc_must_implement_one_of]` attribute
WaffleLapkin Dec 21, 2021
e6bc0ac
Add test for misused `#[rustc_must_implement_one_of]`
WaffleLapkin Jan 3, 2022
268ae9a
Move `#[rustc_must_implement_one_of]` tests to fix tidy check
WaffleLapkin Jan 3, 2022
96b2f8a
Apply suggestions from code review
WaffleLapkin Jan 4, 2022
f64daff
Fix `#[rustc_must_implement_one_of]`
WaffleLapkin Jan 10, 2022
4ccfa97
Add a test for ungated `#[rustc_must_implement_one_of]`
WaffleLapkin Jan 11, 2022
842bf71
fix(compiler): correct minor typos in some long error code explanations
jamestiotio Jan 11, 2022
68515cb
Rename environment variable for overriding rustc version
pierwill Jan 12, 2022
606d9c0
Remove LLVMRustMarkAllFunctionsNounwind
Amanieu Jan 14, 2022
c30ec5a
Check for duplicate arguments in `#[rustc_must_implement_one_of]`
WaffleLapkin Jan 14, 2022
f9174e1
Do not use `HashSet` for `#[rustc_must_implement_one_of]`
WaffleLapkin Jan 14, 2022
28edd7a
Use `Symbol` for dup check in `#[rustc_must_implement_one_of]`
WaffleLapkin Jan 14, 2022
4d5a6c9
Enable wrapping words by default
jsha Jan 12, 2022
07fd90e
Remove `collect`
vacuus Jan 15, 2022
3dfcc66
Add `log2` and `log10` to `NonZeroU*`
scottmcm Jan 16, 2022
e0e15c9
Use `carrying_{mul|add}` in `num::bignum`
scottmcm Jan 16, 2022
9a79ab6
rustc_codegen_llvm: Remove (almost) unused span parameter from many f…
michaelwoerister Jan 10, 2022
67bcbde
Rollup merge of #90498 - joshtriplett:target-tier-policy-draft-update…
matthiaskrgr Jan 17, 2022
32d85c0
Rollup merge of #92164 - WaffleLapkin:rustc_must_implement_one_of_att…
matthiaskrgr Jan 17, 2022
97743d9
Rollup merge of #92729 - michaelwoerister:remove-unused-span-debuginf…
matthiaskrgr Jan 17, 2022
4de63e7
Rollup merge of #92752 - jamestiotio:error-codes-typos, r=nagisa
matthiaskrgr Jan 17, 2022
51aa20d
Rollup merge of #92801 - jsha:overflow-wrap, r=GuillaumeGomez
matthiaskrgr Jan 17, 2022
6acb704
Rollup merge of #92825 - pierwill:rustc-version-force-rename, r=Mark-…
matthiaskrgr Jan 17, 2022
7f02604
Rollup merge of #92877 - Amanieu:remove_llvm_nounwind, r=Mark-Simulacrum
matthiaskrgr Jan 17, 2022
25f73b7
Rollup merge of #92936 - vacuus:html-markdown-parse, r=GuillaumeGomez
matthiaskrgr Jan 17, 2022
731af70
Rollup merge of #92956 - scottmcm:nonzero-log2, r=dtolnay
matthiaskrgr Jan 17, 2022
68d47de
Rollup merge of #92960 - scottmcm:carrying-bignum, r=Mark-Simulacrum
matthiaskrgr Jan 17, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions compiler/rustc_codegen_llvm/src/back/lto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,6 @@ fn fat_lto(
);
save_temp_bitcode(cgcx, &module, "lto.after-restriction");
}

if cgcx.no_landing_pads {
unsafe {
llvm::LLVMRustMarkAllFunctionsNounwind(llmod);
}
save_temp_bitcode(cgcx, &module, "lto.after-nounwind");
}
}

Ok(LtoModuleCodegen::Fat { module: Some(module), _serialized_bitcode: serialized_bitcode })
Expand Down Expand Up @@ -770,16 +763,6 @@ pub unsafe fn optimize_thin_module(
return Err(write::llvm_err(&diag_handler, msg));
}

// Like with "fat" LTO, get some better optimizations if landing pads
// are disabled by removing all landing pads.
if cgcx.no_landing_pads {
let _timer = cgcx
.prof
.generic_activity_with_arg("LLVM_thin_lto_remove_landing_pads", thin_module.name());
llvm::LLVMRustMarkAllFunctionsNounwind(llmod);
save_temp_bitcode(cgcx, &module, "thin-lto-after-nounwind");
}

// Up next comes the per-module local analyses that we do for Thin LTO.
// Each of these functions is basically copied from the LLVM
// implementation and then tailored to suit this implementation. Ideally
Expand Down
Loading