Skip to content

Issues: rust-lang/rust

Draft release notes for 1.87
#140133 opened Apr 21, 2025 by BoxyUwU
Open 5
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

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

Redundant Copies with #[repr(align)] Enum References A-repr Area: the `#[repr(stuff)]` attribute C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-heavy Issue: Problems and improvements with respect to binary size of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#140182 opened Apr 23, 2025 by ZhonghaoPan-nju
Not optimize boolean computations for the usize type A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-slow Issue: Problems and improvements with respect to performance of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#140103 opened Apr 21, 2025 by ZhonghaoPan-nju
Fails to optimize away trivial ownership move of Vec in high optimization levels C-bug Category: This is a bug. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-heavy Issue: Problems and improvements with respect to binary size of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#140057 opened Apr 20, 2025 by ZhonghaoPan-nju
Creating an array can be made 2x faster A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139875 opened Apr 15, 2025 by abgros
Simpler Logic Produces More Complex Output Than Equivalent Expression A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-slow Issue: Problems and improvements with respect to performance of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139851 opened Apr 15, 2025 by ZhonghaoPan-nju
[Optimization] Significantly different assembly output for logically equivalent match patterns with string comparisons A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-patterns Relating to patterns and pattern matching C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-slow Issue: Problems and improvements with respect to performance of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139784 opened Apr 14, 2025 by ZhonghaoPan-nju
Bounds check not elided for index that should be known to be in-bounds A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-slow Issue: Problems and improvements with respect to performance of generated code. llvm-fixed-upstream Issue expected to be fixed by the next major LLVM upgrade, or backported fixes
#139759 opened Apr 13, 2025 by okaneco
[mir-opt] SRoA away the tuple in match (a, b) A-mir-opt Area: MIR optimizations C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139739 opened Apr 13, 2025 by scottmcm
assert_eq! of trivially-equal enums with 2 non-empty variants is not optimized out A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-slow Issue: Problems and improvements with respect to performance of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139733 opened Apr 13, 2025 by ZhonghaoPan-nju
A case of compound x86_64 performance regression caused by LLVM 20 and #124810 A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such P-high High priority regression-untriaged Untriaged performance or correctness regression. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#139730 opened Apr 13, 2025 by MoSal
matching on ordered enum variants emits too many branches A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139702 opened Apr 12, 2025 by Rudxain
is_char_boundary not elided when impl pop in terms of truncate C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-slow Issue: Problems and improvements with respect to performance of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139655 opened Apr 11, 2025 by Rudxain
Ensure we can optimize out does-nothing drops like array::IntoIter<NotNeedsDrop, N> A-mir-opt Area: MIR optimizations C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139422 opened Apr 5, 2025 by scottmcm
Optimization regression: array argument somehow produces null check? A-ABI Area: Concerning the application binary interface (ABI) A-codegen Area: Code generation C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-slow Issue: Problems and improvements with respect to performance of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139415 opened Apr 5, 2025 by alex
Creating a nested MaybeUninit array unnecessarily calls memset C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139355 opened Apr 4, 2025 by abgros
Intrinsics wrappers not being inlined A-codegen Area: Code generation A-intrinsics Area: Intrinsics A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-slow Issue: Problems and improvements with respect to performance of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139160 opened Mar 31, 2025 by mxple
Enum layout should allow multiple untagged variants if they have nonoverlapping values A-layout Area: Memory layout of types C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139148 opened Mar 30, 2025 by lolbinarycat
Promoted constants lead to poor MIR from comparisons A-MIR Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html A-mir-opt Area: MIR optimizations C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-mir-opt Working group: MIR optimizations
#139093 opened Mar 29, 2025 by scottmcm
f32 += f32 * u32 is faster in a loop than f32 += f32; can be defeated (a little bit) with #[cold] annotation? A-codegen Area: Code generation C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example I-slow Issue: Problems and improvements with respect to performance of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#138953 opened Mar 25, 2025 by nabijaczleweli
Optimize const pattern guards for StructuralEq types A-patterns Relating to patterns and pattern matching C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#138664 opened Mar 18, 2025 by TimNN
Simple Option use, like in checked_sub, should optimize out fully in MIR A-mir-opt Area: MIR optimizations C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#138544 opened Mar 15, 2025 by scottmcm
Removing trailing zeros of a NonZero A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such I-slow Issue: Problems and improvements with respect to performance of generated code.
#138497 opened Mar 14, 2025 by leonardo-m
Should Option<u128> use a smaller (maybe usize) tag? A-layout Area: Memory layout of types C-discussion Category: Discussion or questions that doesn't represent real issues. C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#138332 opened Mar 11, 2025 by scottmcm
missed optimimization: needless clone of stdlib non-copy type is not eliminated C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#138118 opened Mar 6, 2025 by lolbinarycat
Missed optimization: unnecessary copies returning 3-tuple of u32 C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#137488 opened Feb 23, 2025 by zackw
ProTip! Find all open issues with in progress development work with linked:pr.