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

crucible-llvm: Support atomic operations introduced in LLVM 9+ #1226

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

RyanGlScott
Copy link
Contributor

This adapts crucible-llvm to new atomic operations introduced in LLVM 9 and later:

This adapts `crucible-llvm` to new atomic operations introduced in LLVM 9 and later:

* This bumps the `llvm-pretty` submodule to incorporate the changes from
  GaloisInc/llvm-pretty#138 and
  GaloisInc/llvm-pretty#140.
* This bumps the `llvm-pretty-bc-parser` submodule to incorporate changes from
  GaloisInc/llvm-pretty-bc-parser#274.
* This updates `crucible-llvm`'s semantics for the `atomicrmw` instruction to
  account for atomic `fadd`, `fsub`, `fmax`, `fmin`, `uinc_wrap`, and `udec_wrap` operations.
* This ensures that all atomic operations have a corresponding `crux-llvm` test case.
@RyanGlScott RyanGlScott requested a review from kquick July 25, 2024 15:34
@RyanGlScott RyanGlScott merged commit b8ff9be into master Jul 26, 2024
32 checks passed
@RyanGlScott RyanGlScott deleted the crucible-llvm-new-atomic-operations branch July 26, 2024 15:51
RyanGlScott added a commit that referenced this pull request Sep 3, 2024
As of #1226, `crucible-llvm` requires `llvm-pretty-0.12.1` or later to build,
but this was not reflected in the `.cabal` file's version bounds. Fix this, and
bump the `llvm-pretty` submodule to pin against version 0.12.1.

Related to #1246.
RyanGlScott added a commit that referenced this pull request Sep 3, 2024
As of #1226, `crucible-llvm` requires `llvm-pretty-0.12.1` or later to build,
but this was not reflected in the `.cabal` file's version bounds. Fix this, and
bump the `llvm-pretty` submodule to pin against version 0.12.1.

Related to #1246.

(cherry picked from commit 4661e4e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants