-
Notifications
You must be signed in to change notification settings - Fork 691
Unhandled parts of the LLVM IR #678
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
Comments
Added |
LLVM8:
https://llvm.org/docs/LangRef.html#llvm-is-constant-intrinsic This should be lowered before execution. |
I also bumped into |
I did a bit of research on
There is a user-facing API to perform this lowering -
So, my plan is to apply |
Another unsupported intrinsic:
|
@jyn514 Thanks, I added it to the list. We need to understand why these are not eliminated like other vectorized intrinsics. |
Another interesting group of intrinsics |
@operasfantom thanks, I added them to the list. |
This issues tracks LLVM instructions, intrinsics, etc. that KLEE is known not to handle. Each item is checked once support has been added.
llvm.bswap.*
Modern docs. Introduced in LLVM 1.7. First reported in llvm error in the latest klee #660.blockaddress
Modern docs. Introduced in LLVM 2.7. First reported in klee can't handle when the constant is a statement label #615indirectbr
Modern docs. Introduced in LLVM 2.7. First reported (indirectly) in klee can't handle when the constant is a statement label #615llvm.is.constant.*
. First reported below.llvm.rint.*
. First reported in LLVM ERROR: Code generator does not support intrinsic function 'llvm.rint.f64'! #1232llvm.minnum.*
,llvm.maxnum.*
,llvm.minimum
,llvm.maximum
. First reported in LLVM ERROR: Code generator does not support intrinsic function 'llvm.minnum.f64'! #1238llvm.fshl.*
,‘llvm.fshr.*
. First reported in Assertion failure for Rust code #1263llvm.x86.sse2.*
. First reported in How to fix LLVM intrinsic function lost #1091.llvm.x86.sse42.crc32.*
. First reported here.llvm.sadd.sat.v8i16
etc. First reported Fixed a crash in the operation of 128-bit variables in the sse instruction set of the x86/x64 architecture #1457The text was updated successfully, but these errors were encountered: