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

Fix pretty-printing for uinc_wrap and udec_wrap #140

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

RyanGlScott
Copy link
Collaborator

Fixes #139.

@RyanGlScott RyanGlScott requested a review from kquick July 25, 2024 10:53
RyanGlScott added a commit to GaloisInc/llvm-pretty-bc-parser that referenced this pull request Jul 25, 2024
This adapts `llvm-pretty-bc-parser` 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 updates the parsing code in `Data.LLVM.BitCode.IR.Function` to account
  for atomic `fadd`, `fsub`, `fmax`, `fmin`, `uinc_wrap`, and `udec_wrap`
  operations.
* This ensures that all atomic operations have a corresponding `disasm-test`
  test case.
@RyanGlScott RyanGlScott merged commit 725bd01 into master Jul 25, 2024
1 check passed
@RyanGlScott RyanGlScott deleted the fix-uinc_wrap-pretty-printing branch July 25, 2024 11:50
RyanGlScott added a commit to GaloisInc/llvm-pretty-bc-parser that referenced this pull request Jul 25, 2024
This adapts `llvm-pretty-bc-parser` 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 updates the parsing code in `Data.LLVM.BitCode.IR.Function` to account
  for atomic `fadd`, `fsub`, `fmax`, `fmin`, `uinc_wrap`, and `udec_wrap`
  operations.
* This ensures that all atomic operations have a corresponding `disasm-test`
  test case.
RyanGlScott added a commit to GaloisInc/llvm-pretty-bc-parser that referenced this pull request Jul 25, 2024
This adapts `llvm-pretty-bc-parser` 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 updates the parsing code in `Data.LLVM.BitCode.IR.Function` to account
  for atomic `fadd`, `fsub`, `fmax`, `fmin`, `uinc_wrap`, and `udec_wrap`
  operations.
* This ensures that all atomic operations have a corresponding `disasm-test`
  test case.
RyanGlScott added a commit to GaloisInc/llvm-pretty-bc-parser that referenced this pull request Jul 25, 2024
This adapts `llvm-pretty-bc-parser` 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 updates the parsing code in `Data.LLVM.BitCode.IR.Function` to account
  for atomic `fadd`, `fsub`, `fmax`, `fmin`, `uinc_wrap`, and `udec_wrap`
  operations.
* This ensures that all atomic operations have a corresponding `disasm-test`
  test case.
RyanGlScott added a commit to GaloisInc/llvm-pretty-bc-parser that referenced this pull request Jul 25, 2024
This adapts `llvm-pretty-bc-parser` 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 updates the parsing code in `Data.LLVM.BitCode.IR.Function` to account
  for atomic `fadd`, `fsub`, `fmax`, `fmin`, `uinc_wrap`, and `udec_wrap`
  operations.
* This ensures that all atomic operations have a corresponding `disasm-test`
  test case.
RyanGlScott added a commit to GaloisInc/crucible that referenced this pull request Jul 25, 2024
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 added a commit to GaloisInc/crucible that referenced this pull request Jul 26, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pretty-printing for uinc_wrap and udec_wrap is incorrect
2 participants