Skip to content

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

Closed
rust-lang/portable-simd
#551

Description

@programmerjake

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

fixed in llvm 20

Activity

  1. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Jan 24, 2025
  2. added
    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.
    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    O-AArch64Armv8-A or later processors in AArch64 mode
    and removed
    C-bugCategory: This is a bug.
    on Jan 24, 2025
  3. programmerjake commented on Jan 24, 2025

    @programmerjake
    MemberAuthor

    @rustbot label -needs-triage +A-llvm

  4. removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Jan 24, 2025
  5. 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[/+] on Jan 24, 2025
  6. added
    WG-llvmWorking group: LLVM backend code generation
    A-SIMDArea: SIMD (Single Instruction Multiple Data)
    PG-portable-simdProject group: Portable SIMD (https://github.com/rust-lang/project-portable-simd)
    T-libsRelevant to the library team, which will review and decide on the PR/issue.
    and removed
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on Jan 24, 2025
  7. Jamesbarford commented on Nov 20, 2025

    @Jamesbarford
    Contributor

    Triage: I'm a little unsure as to what the issue is here as it is mentioned that it is fixed?

  8. programmerjake commented on Nov 20, 2025

    @programmerjake
    MemberAuthor

    the point of this issue is so we remember to update our code to remove the workaround once LLVM 20 is the minimum required LLVM version.

  9. cuviper commented on Mar 11, 2026

    @cuviper
    Member

    once LLVM 20 is the minimum required LLVM version.

    That's already true since #145071

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-SIMDArea: SIMD (Single Instruction Multiple Data)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.O-AArch64Armv8-A or later processors in AArch64 modePG-portable-simdProject group: Portable SIMD (https://github.com/rust-lang/project-portable-simd)T-libsRelevant to the library team, which will review and decide on the PR/issue.WG-llvmWorking group: LLVM backend code generation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions