-
Notifications
You must be signed in to change notification settings - Fork 95
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
Same IR Code, But Verification Fail #1087
Comments
reduced test case: declare void @use_writeonly(ptr) memory(write)
define void @src() {
%src = alloca i32, align 4
%dest = alloca i32, align 4
call void @use_writeonly(ptr %dest)
ret void
}
define void @tgt() {
%src = alloca i32, align 4
%dest = alloca i32, align 4
call void @use_writeonly(ptr %dest)
ret void
} |
I would like to try to fix this problem. Could I get some help to do so? |
It's hard to give any concrete advise. The bug can be either in state,cpp (addFnCall), in memory.cpp (refinement of input memory for the function), or in pointer.cpp (refinement of input ptrs to the function). |
Thank you for advise. Source :
Target:
And if the |
I found something I don't understand while looking into the case of
ERROR: Source and target don't have the same return domain.
Why did the verification fail?
https://alive2.llvm.org/ce/z/SBacDP
The text was updated successfully, but these errors were encountered: