We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using clam to insert invariants, it declares a function @verifier.assume:
; Function Attrs: inaccessiblememonly norecurse nounwind optnone declare void @verifier.assume(i1) #1
However, attempting to disassemble the bitcode to LLVM IR generates an error as the function should also have the noinline attribute:
Attribute 'optnone' requires 'noinline'! void (i1)* @verifier.assume LLVM ERROR: Broken module found, compilation aborted!
I had to patch LLVM to get the .ll file and see what's going on by removing the following line: https://github.com/llvm/llvm-project/blob/97d00b72a2b0a7aca631e1402a647f32c4e8bafb/llvm/lib/IR/Verifier.cpp#L2051-L2052
The text was updated successfully, but these errors were encountered:
Fix in commit 6b68447.
@foonathan thanks for reporting it!
Sorry, something went wrong.
Thanks for the quick fix!
No branches or pull requests
When using clam to insert invariants, it declares a function @verifier.assume:
However, attempting to disassemble the bitcode to LLVM IR generates an error as the function should also have the noinline attribute:
I had to patch LLVM to get the .ll file and see what's going on by removing the following line: https://github.com/llvm/llvm-project/blob/97d00b72a2b0a7aca631e1402a647f32c4e8bafb/llvm/lib/IR/Verifier.cpp#L2051-L2052
The text was updated successfully, but these errors were encountered: