-
Notifications
You must be signed in to change notification settings - Fork 11
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
bswap requires even number of bytes #38
Comments
rfourquet
added a commit
that referenced
this issue
Oct 5, 2023
Fixes #38. `bswap` was seeming to work well since Julia v1.6, but LLVM documents that `bswap` is valid only for an even number of bytes (https://llvm.org/docs/LangRef.html#llvm-bswap-intrinsics), and a julia build with LLVM asserts enabled catches that. NB: to enable LLVM asserts, put the following in "Make.user" : ``` FORCE_ASSERTIONS=1 LLVM_ASSERTIONS=1 ```
rfourquet
added a commit
that referenced
this issue
Oct 5, 2023
Fixes #38. `bswap` was seeming to work well since Julia v1.6, but LLVM documents that `bswap` is valid only for an even number of bytes (https://llvm.org/docs/LangRef.html#llvm-bswap-intrinsics), and a julia build with LLVM asserts enabled catches that. NB: to enable LLVM asserts, put the following in "Make.user" : ``` FORCE_ASSERTIONS=1 LLVM_ASSERTIONS=1 ```
rfourquet
added a commit
that referenced
this issue
Oct 5, 2023
Fixes #38. `bswap` was seeming to work well since Julia v1.6, but LLVM documents that `bswap` is valid only for an even number of bytes (https://llvm.org/docs/LangRef.html#llvm-bswap-intrinsics), and a julia build with LLVM asserts enabled catches that. NB: to enable LLVM asserts, put the following in "Make.user" : ``` FORCE_ASSERTIONS=1 LLVM_ASSERTIONS=1 ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From PkgEval: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2023-07/13/BitIntegers.primary.log
This requires a build of Julia with LLVM assertions enabled.
The text was updated successfully, but these errors were encountered: