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

Missed optimization: bounds checking if index is both subtracted and divided 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.
#134704 opened Dec 23, 2024 by SuperSamus
Bad codegen for integer slice in 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.
#134674 opened Dec 23, 2024 by CrazyboyQCD
Missed optimization: states guarenteed after first iteration of loop C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such F-let_chains `#![feature(let_chains)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134667 opened Dec 22, 2024 by SuperSamus
Missed optimization: bounds check not elided for i * s < n when 0 <= i < n / s 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.
#134636 opened Dec 22, 2024 by SuperSamus
Slice bounds check not elided in trivial case when using a local varaible outside of a branch A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. 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.
#134466 opened Dec 18, 2024 by ChrisDenton
enums with disjoint ranges should emit more precise llvm.range metadata 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.
#133822 opened Dec 3, 2024 by Kmeakin
Missed optimizations: Err returns should be out of line, loop not recognized as iterating at least once 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.
#133645 opened Nov 29, 2024 by zackw
Missed optimization in sum of remainders 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.
#133621 opened Nov 29, 2024 by notoria
Missed optimization when looping over bytes of a value 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 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.
#133528 opened Nov 27, 2024 by theemathas
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 | in inner elements 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
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. 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.
#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
ProTip! Exclude everything labeled bug with -label:bug.