mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
db3e99bbab
skip codegen for intrinsics with big fallback bodies if backend does not need them This hopefully fixes the perf regression from https://github.com/rust-lang/rust/pull/148478. I only added the intrinsics with big fallback bodies to the list; it doesn't seem worth the effort of going through the entire list. Fixes https://github.com/rust-lang/rust/issues/149945 Cc @scottmcm @bjorn3
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.