Set groundwork for proper const normalization by BoxyUwU · Pull Request #140549 · rust-lang/rust (original) (raw)

Most regressions are small, and a few look like non-noise. Looking at a function-level diff of the syn-1 benchmark... it looks like the changes are mostly small-ish changes around inlining, which doesn't seem worth further investigation.

<  13,419,979  ???:
   36,250,708    <rustc_trait_selection::traits::select::SelectionContext>::confirm_candidate
  -20,035,552    <rustc_trait_selection::traits::select::SelectionContext>::poly_select::{closure#0}
  -11,388,056    <rustc_trait_selection::traits::select::SelectionContext>::match_impl::{closure#0}
    9,881,516    rustc_metadata::rmeta::decoder::cstore_impl::provide_extern::explicit_predicates_of
   -9,273,148    rustc_query_impl::plumbing::__rust_begin_short_backtrace::<rustc_query_impl::query_impl::explicit_predicates_of::dynamic_query::{closure#2}::{closure#0}, rustc_mid>
   -7,724,715    <rustc_trait_selection::traits::select::SelectionContext>::candidate_from_obligation::{closure#0}::{closure#0}
    6,964,830    <rustc_trait_selection::traits::select::SelectionContext>::assemble_candidates
    5,811,720    <rustc_middle::ty::context::TyCtxt>::recursion_limit
   -1,461,675    rustc_trait_selection::traits::project::opt_normalize_projection_term