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
Here's a variant without zero-size types:
define i1 @src() { %a = alloca i64 %a2 = alloca i32 %gep = getelementptr i8, ptr %a, i64 8 %cmp = icmp eq ptr %gep, %a2 call void @escape(ptr %a, ptr %a2) ret i1 %cmp } define i1 @tgt() { %a = alloca i64 %a2 = alloca i32 %gep = getelementptr i8, ptr %a, i64 8 %cmp = icmp eq ptr %gep, %a2 call void @escape(ptr %a, ptr %a2) ret i1 false } declare void @escape(ptr, ptr)
This claims that two (non-zero-size) allocas can't have adjacent addresses.
Originally posted by @nikic in #1109 (comment)
The text was updated successfully, but these errors were encountered:
The issue is we related with the function call: if the pointers escape, their address may have been observed.
Sorry, something went wrong.
No branches or pull requests
Here's a variant without zero-size types:
This claims that two (non-zero-size) allocas can't have adjacent addresses.
Originally posted by @nikic in #1109 (comment)
The text was updated successfully, but these errors were encountered: