Skip to content

Issues: rust-lang/rust

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

Inefficient implementation of PartialEq for nested (fieldless) enums A-codegen Area: Code generation A-enum 🤓 akshually it's an "ADT" or "algebraic data 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-heavy Issue: Problems and improvements with respect to binary size of generated code. 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.
#132628 opened Nov 5, 2024 by zaneduffield
Counter in slice iter fails to eliminate bounds check 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.
#132557 opened Nov 3, 2024 by clubby789
Suboptimal codegen for integer slice matching without | 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.
#132254 opened Oct 28, 2024 by CrazyboyQCD
Rust doesn't use niche in reference (or pointer) to slice A-layout Area: Memory layout of types C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such E-needs-design This issue needs exploration and design to see how and if we can fix/implement it T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132235 opened Oct 27, 2024 by VorfeedCanal
Unmerged stack slots under Windows A-codegen Area: Code generation 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-heavy Issue: Problems and improvements with respect to binary size of generated code. O-windows-msvc Toolchain: MSVC, Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132014 opened Oct 21, 2024 by xTachyon
Codegen depends on let-variable ordering for unclear reasons A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-panic Area: Panicking machinery 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.
#131987 opened Oct 21, 2024 by CrazyboyQCD
llvm noalias data gets lost when passing large structs A-ABI Area: Concerning the application binary interface (ABI) 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.
#131905 opened Oct 18, 2024 by sarah-quinones
[MIR-opt] matches!(x, Some(_)) should simplify to Eq(Discriminant, Const) 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.
#131219 opened Oct 3, 2024 by scottmcm
Unnecessary loop unrolling to handle tail when tail length has a smaller known size 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.
#130795 opened Sep 24, 2024 by okaneco
Slow code generated for _mm256_mulhi_epi16 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 P-medium Medium priority regression-untriaged Untriaged performance or correctness regression.
#130782 opened Sep 24, 2024 by turalcar
Range<usize>::next should fully MIR-inline A-MIR Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html A-mir-opt-inlining Area: MIR inlining 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.
#130590 opened Sep 20, 2024 by scottmcm
Suboptimal codegen for a function that should fold to a constant A-codegen Area: Code generation 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.
#130421 opened Sep 16, 2024 by dcci
Possibly sub-optimal optimization of few bytes copy 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.
#130304 opened Sep 13, 2024 by leonardo-m
Using GetFileInformationByName in Windows for file stat/metadata operations A-filesystem Area: `std::fs` 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. O-windows Operating system: Windows T-libs Relevant to the library team, which will review and decide on the PR/issue.
#130169 opened Sep 9, 2024 by juliusl
Suboptimal Assembly Output from a Modulo on a Power of Two 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.
#129795 opened Aug 30, 2024 by Altanis
Unnecessary alloca Without Optimization Flags A-codegen Area: Code generation 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.
#129282 opened Aug 19, 2024 by CJacob314
Missed optimization in if with constant 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 I-slow Issue: Problems and improvements with respect to performance of generated code.
#129144 opened Aug 16, 2024 by tbillington
Significantly worse codegen for SIMD shuffles after Rust 1.73.0 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 P-medium Medium priority regression-untriaged Untriaged performance or correctness regression.
#129132 opened Aug 15, 2024 by TDecking
Inefficient Match Statement Optimization for Unit-Only Enums with Fixed Offsets A-codegen Area: Code generation 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. llvm-fixed-upstream Issue expected to be fixed by the next major LLVM upgrade, or backported fixes T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#129131 opened Aug 15, 2024 by Shadowcat650
Missing optimization for interger modulo operation in loop edge case A-codegen Area: Code generation 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.
#128921 opened Aug 10, 2024 by CrazyboyQCD
Missed optimization/perf oddity with allocations A-rust-for-linux Relevant for the Rust-for-Linux project C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-libs Relevant to the library team, which will review and decide on the PR/issue.
#128854 opened Aug 8, 2024 by peterwmwong
generated call to core::fmt::Arguments::new_const fails to constant fold A-fmt Area: `std::fmt` 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.
#128709 opened Aug 5, 2024 by lolbinarycat
Redundant calls to Vec::reserve are not optimized out C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such T-libs Relevant to the library team, which will review and decide on the PR/issue.
#128613 opened Aug 3, 2024 by saethlin
slice.iter().take_while(f).count() produces suboptimal assembly code 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-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.
#128208 opened Jul 25, 2024 by bluebear94
The slice::chunks_exact iterator does not optimize when the initial slice is non-empty 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. 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.
#128077 opened Jul 22, 2024 by shepmaster
ProTip! What’s not been updated in a month: updated:<2024-10-08.