Closed as duplicate of#122734
Description
Option<bool>::eq
is ~20 lines of assembly as of rustc 1.87.0-nightly (a2e63569f 2025-03-26)
.
Repro: https://rust.godbolt.org/z/hPn8TvvYP
This is here to track this FIXME:
rust/tests/codegen/option-niche-eq.rs
Lines 65 to 73 in 2a06022
With llvm/llvm-project#133344 fixed upstream (thanks @veera-sivarajan for jumping on it so quickly!) after the LLVM 21 version upgrade we should revisit this and see whether we can enable that test.
Metadata
Metadata
Assignees
Labels
Issue: Problems and improvements with respect to binary size of generated code.Status: Blocked on something else such as an RFC or other implementation work.Relevant to the compiler team, which will review and decide on the PR/issue.Issue expected to be fixed by the next major LLVM upgrade, or backported fixes