8000 Escaping call return values (?) · Issue #5 · focs-lab/llvm-project · GitHub
[go: up one dir, main page]

Skip to content

Escaping call return values (?) #5

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

Open
apaznikov opened this issue Oct 29, 2024 · 0 comments
Open

Escaping call return values (?) #5

apaznikov opened this issue Oct 29, 2024 · 0 comments 8012
Labels
question Further information is requested

Comments

@apaznikov
Copy link
Collaborator
apaznikov commented Oct 29, 2024

/// Alloca is not only value which can escape. Call e.g. may create
/// a value without Alloca
/// define dso_local ptr @gep_func() {
// entry : % p = alloca ptr, align 8 % pGEP = getelementptr inbounds i8, ptr % p,
// i64 24 % LoadedGEP = load i64, ptr % pGEP,
// align 8 % call = call ptr @func() % data = getelementptr inbounds i8,
// ptr % call, i64 48 store i64 % LoadedGEP, ptr % data,
// align 8 ret ptr % call
// }

Is it relevant?

@apaznikov apaznikov added the question Further information is requested label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant
0