Skip to content

Enable RISC-V atomic compare and swap #56564

@fintelia

Description

@fintelia
Contributor

Now that LLVM has support for atomic CAS on RISC-V it would be good to enable it in rustc for that backend. I think this should just be a matter of updating LLVM (or cherry picking the relevant commit? Not entirely sure how that works) and then flipping the switch.

Activity

added
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
on Dec 6, 2018
fintelia

fintelia commented on Jan 11, 2019

@fintelia
ContributorAuthor

What is necessary to move this along?

nikic

nikic commented on Jan 11, 2019

@nikic
Contributor

@fintelia There will be an LLVM update soon (as part of the LLVM monorepo migration), which will pull in the necessary LLVM changes. Afterwards it can be enabled on the rustc side.

added a commit that references this issue on Jan 27, 2019
b3dbeee
added a commit that references this issue on Jan 27, 2019
677064b
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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @nikic@fintelia

        Issue actions

          Enable RISC-V atomic compare and swap · Issue #56564 · rust-lang/rust