Skip to content
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

Workaround for llvm bug for f32x3 saturating fp->int opt-level=0 on aarch64 is fixed in LLVM 20 #135982

Open
programmerjake opened this issue Jan 24, 2025 · 1 comment
Labels
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

Comments

@programmerjake
Copy link
Member

workaround added in rust-lang/portable-simd#422 (comment) for llvm/llvm-project#94694

fixed in llvm 20

@programmerjake programmerjake added the C-bug Category: This is a bug. label Jan 24, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jan 24, 2025
@jieyouxu jieyouxu added C-cleanup Category: PRs that clean code up or issues documenting cleanup. 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. O-AArch64 Armv8-A or later processors in AArch64 mode and removed C-bug Category: This is a bug. labels Jan 24, 2025
@programmerjake
Copy link
Member Author

@rustbot label -needs-triage +A-llvm

@rustbot rustbot removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jan 24, 2025
@jieyouxu jieyouxu changed the title tracking issue for workaround for llvm bug for f32x3 saturating fp->int opt-level=0 on aarch64 Workaround for llvm bug for f32x3 saturating fp->int opt-level=0 on aarch64 is fixed in LLVM 20 Jan 24, 2025
@jieyouxu jieyouxu added WG-llvm Working group: LLVM backend code generation A-SIMD Area: SIMD (Single Instruction Multiple Data) 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. and removed T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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
Projects
None yet
Development

No branches or pull requests

3 participants