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

cg_llvm: Replace some DIBuilder wrappers with LLVM-C API bindings (part 2) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
#136632 opened Feb 6, 2025 by Zalathar Loading…
x86 softfloat target: no way to get LLVM to make local use of the FPU or SIMD registers A-floating-point Area: Floating point numbers and arithmetic A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-SIMD Area: SIMD (Single Instruction Multiple Data) C-bug Category: This is a bug. C-external-bug Category: issue that is caused by bugs in software beyond our control T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#136540 opened Feb 4, 2025 by RalfJung
Byte count has poor codegen with autovectorization A-autovectorization Area: Autovectorization, which can impact perf or code 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 T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#136500 opened Feb 3, 2025 by danielhuang
Change rint to roundeven in round_ties_even implementation A-floating-point Area: Floating point numbers and arithmetic A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#136459 opened Feb 3, 2025 by tgross35
Empty RangeInclusive for loop optimizes worse than using Range 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.
#136423 opened Feb 2, 2025 by Sky9x
warning: rustc_llvm@0.0.0: Inherited flag "-flto=thin" is not supported by the currently used CC A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
#136338 opened Jan 31, 2025 by Zeckmathederg
rustc unexpectedly overflowed its stack! this is a bug A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress.
#136282 opened Jan 30, 2025 by Julianzs
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
-C force-frame-pointers=yes not respected by -Z build-std or opt-level = "z" A-backtrace Area: Backtraces A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#136198 opened Jan 28, 2025 by rslawson
NaNs are quieted on Emscripten A-ABI Area: Concerning the application binary interface (ABI) A-floating-point Area: Floating point numbers and arithmetic A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. I-miscompile Issue: Correct Rust code lowers to incorrect machine code O-emscripten Target: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL! T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#136197 opened Jan 28, 2025 by purplesyringa
Should generate llvm.threadlocal.address for TLS accesses A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#136044 opened Jan 25, 2025 by nikic
Workaround for llvm bug for f32x3 saturating fp->int opt-level=0 on aarch64 is fixed in LLVM 20 A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-SIMD Area: SIMD (Single Instruction Multiple Data) C-cleanup Category: PRs that clean code up or issues documenting cleanup. O-AArch64 Armv8-A or later processors in AArch64 mode PG-portable-simd Project group: Portable SIMD (https://github.com/rust-lang/project-portable-simd) T-libs Relevant to the library team, which will review and decide on the PR/issue. WG-llvm Working group: LLVM backend code generation
#135982 opened Jan 24, 2025 by programmerjake
Meta Tracking Issue for LLVM workarounds A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC PG-portable-simd Project group: Portable SIMD (https://github.com/rust-lang/project-portable-simd) S-tracking-forever Status: Never to be closed. 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. WG-llvm Working group: LLVM backend code generation
#135981 opened Jan 24, 2025 by jieyouxu
u128 manual byte-reading is not optimized, in contrast to u64 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.
#135980 opened Jan 24, 2025 by ProgramCrafter
Basic wrapping arithmetic on pointers is pessimized compared to integers 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.
#135798 opened Jan 20, 2025 by orlp
16k-aligned statics crash rustc on Windows A-align Area: alignment control (`repr(align(N))` and so on) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-repr Area: the `#[repr(stuff)]` attribute C-bug Category: This is a bug. E-needs-investigation Call for partcipation: This issues needs some investigation to determine current status I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. O-windows Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#135752 opened Jan 20, 2025 by purplesyringa
LLVM assertion failure on Wasm exceptions A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. O-emscripten Target: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL! O-wasi Operating system: Wasi, Webassembly System Interface O-wasm Target: WASM (WebAssembly), http://webassembly.org/ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#135665 opened Jan 18, 2025 by purplesyringa
Tracking Issue for the gpu-kernel ABI A-ABI Area: Concerning the application binary interface (ABI) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC O-amdgpu AMDGPU targets O-NVPTX Target: the NVPTX LLVM backend for running rust on GPUs, https://llvm.org/docs/NVPTXUsage.html T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#135467 opened Jan 14, 2025 by Flakebi
1 of 14 tasks
rustc segfaults on global_asm!("jz [foo]") on x86_64-pc-windows-msvc (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. O-windows Operating system: Windows O-windows-msvc Toolchain: MSVC, Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#135362 opened Jan 11, 2025 by Trolldemorted
Performance regression on toy problem, but not for opt-level=1. 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. P-low Low priority regression-untriaged Untriaged performance or correctness regression. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#135241 opened Jan 8, 2025 by TheThirdOne
Upstream LLVM libunwind patch for SGX A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-cleanup Category: PRs that clean code up or issues documenting cleanup. O-SGX Target: SGX
#135077 opened Jan 3, 2025 by nikic
Tracking Issue for amdgpu target A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC O-amdgpu AMDGPU targets T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#135024 opened Jan 2, 2025 by Flakebi
6 of 16 tasks
matching on functions with similar call stacks breaks optimized backtraces even with debuginfo A-backtrace Area: Backtraces A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-discussion Category: Discussion or questions that doesn't represent real issues. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134909 opened Dec 30, 2024 by jyn514
Compile Error on AVR atmega328p with global_asm! in lib.rs A-inline-assembly Area: Inline assembly (`asm!(…)`) 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. C-external-bug Category: issue that is caused by bugs in software beyond our control E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example O-AVR Target: AVR processors (ATtiny, ATmega, etc.) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#134758 opened Dec 25, 2024 by xjnxjnxjn
ProTip! Type g p on any issue or pull request to go back to the pull request listing page.