Skip to content

skip codegen for intrinsics with big fallback bodies if backend does not need them#150605

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
RalfJung:fallback-intrinsic-skip
Feb 4, 2026
Merged

skip codegen for intrinsics with big fallback bodies if backend does not need them#150605
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
RalfJung:fallback-intrinsic-skip

Conversation

@RalfJung
Copy link
Copy Markdown
Member

@RalfJung RalfJung commented Jan 2, 2026

This hopefully fixes the perf regression from #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 #149945
Cc @scottmcm @bjorn3

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. merged-by-bors This PR was explicitly merged by bors. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid monomorphizing intrinsic fallback bodies that the backend does not need

10 participants