-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error when parsing SQLite 3.32.1 with Clang 10: Instruction code 56 is unknown #148
Labels
Comments
Instruction code 56 corresponds to the double negate(double x) {
return -x;
}
int main() {
return 0;
}
|
Luckily, |
elliottt
pushed a commit
to GaloisInc/llvm-pretty
that referenced
this issue
Aug 22, 2021
* Support `fneg` instruction Recent versions of LLVM represent floating-point negation with a dedicated `fneg` instruction, as discovered in GaloisInc/llvm-pretty-bc-parser#148. `fneg` is considered to be a unary operation, much like the `add`, `sub`, etc. instructions are binary operations. As a result, rather than adding a dedicated `fneg` instruction, I added a `UnaryArith` instruction, which acts like (binary) `Arith` but with a single parameter. The `UnaryArithOp` data type, then, only consists of `FNeg` for now, but there could be additional operations in future versions of LLVM. * Text.LLVM.PP: Whitespace only
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see that Clang 10 is not yet listed in the README as supported, so this might be known but just wanted to raise it if not.
sqlite-3.32.1.bc.zip
The text was updated successfully, but these errors were encountered: