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

Bad codegen for comparing struct of two 16bit ints A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. I-slow Issue: Problems and improvements with respect to performance of generated code.
#140167 opened Apr 22, 2025 by bjorn3
armv4t-none-eabi cannot use compiler_fence A-atomic Area: Atomics, barriers, and sync primitives A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. O-Arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#140105 opened Apr 21, 2025 by EvansJahja
rustc_codegen_ssa should write temporary files to the output directory A-codegen Area: Code generation C-enhancement Category: An issue proposing an enhancement or a PR with one. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#139963 opened Apr 17, 2025 by ChrisDenton
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
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
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
Allow emitting more enums as SSA values A-codegen Area: Code generation C-enhancement Category: An issue proposing an enhancement or a PR with one. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#138373 opened Mar 11, 2025 by scottmcm
LLVM nocapture attribute is used incorrectly A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. I-unsound Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-opsem Relevant to the opsem team
#137668 opened Feb 26, 2025 by tmiasko
Emit dereferenceable assumptions for slices A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. 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.
#137568 opened Feb 24, 2025 by Kmeakin
Inefficient code generation with target-feature AVX2 A-codegen Area: Code generation 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-bug Category: This is a bug. 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.
#137335 opened Feb 20, 2025 by LaurenzV
Missed optimization: big immutable locals are not promoted to constants 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.
#136218 opened Jan 28, 2025 by WaffleLapkin
Missed match optimization of riscv 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.
#136216 opened Jan 28, 2025 by WaffleLapkin
#[thread_local]s are pessimized in #[no_mangle] functions A-codegen Area: Code generation A-thread-locals Area: Thread local storage (TLS) C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such F-thread_local `#![feature(thread_local)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#136042 opened Jan 25, 2025 by purplesyringa
atomic RMW intrinsics: avoid unnecessary ptr/int conversions A-atomic Area: Atomics, barriers, and sync primitives A-codegen Area: Code generation A-intrinsics Area: Intrinsics A-strict-provenance Area: Strict provenance for raw pointers C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such
#134617 opened Dec 21, 2024 by RalfJung
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
Rustc fails to compile a program with ThinLTO and split-debuginfo = "packed" A-codegen Area: Code generation A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132677 opened Nov 6, 2024 by zamazan4ik
Inefficient implementation of PartialEq for nested (fieldless) enums A-codegen Area: Code generation A-enum Area: Enums (discriminated unions, or more generally ADTs (algebraic data types)) 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 E-needs-test Call for participation: An issue has been fixed and does not reproduce, but no test has been added. 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
Tracking issue for release notes of #129347: #[inline(never)] does not work for async functions A-async-await Area: Async & Await A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. relnotes Marks issues that should be documented in the release notes of the next release. relnotes-tracking-issue Marks issues tracking what text to put in release notes. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#132573 opened Nov 3, 2024 by rustbot
3 tasks
assembler label '' cannot be undefined on Windows ARM A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-LTO Area: Link-time optimization (LTO) C-bug Category: This is a bug. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example I-miscompile Issue: Correct Rust code lowers to incorrect machine code O-AArch64 Armv8-A or later processors in AArch64 mode O-windows Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132287 opened Oct 28, 2024 by NicholasLYang
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
Volatile reads and writes on aarch64 sometimes generate instructions not suitable for MMIO in protected VMs A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. O-AArch64 Armv8-A or later processors in AArch64 mode S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131894 opened Oct 18, 2024 by qwandor
get_unchecked() is never inlined on armv7-unknown-linux-gnueabihf in functions with #[target_feature(enable = "neon")] A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-SIMD Area: SIMD (Single Instruction Multiple Data) A-target-feature Area: Enabling/disabling target features like AVX, Neon, etc. C-bug Category: This is a bug. I-slow Issue: Problems and improvements with respect to performance of generated code. O-Arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131745 opened Oct 15, 2024 by hkratz
precondition_check functions can survive MonoReachable A-codegen Area: Code generation C-bug Category: This is a bug. 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.
#131578 opened Oct 12, 2024 by saethlin
Regression: tests/codegen/issues/issue-101082.rs fails with -Ctarget-cpu=x86-64-v3 A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. P-medium Medium priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another.
#131563 opened Oct 11, 2024 by cuviper
ProTip! Mix and match filters to narrow down what you’re looking for.