-
-
Notifications
You must be signed in to change notification settings - Fork 796
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
perf bug[venom]: unlifted variables in mem2var #4296
Comments
Looks like the "transpiler" is not generating the appropriate |
hmm. we should probably make sure in the transpiler that allocas get inserted in the entry block. |
Looked into it. The |
i think the check for vyper/vyper/venom/passes/mem2var.py Lines 43 to 44 in 6843e79
|
this is blocking the first example, since the venom code contains a store of the alloca variable ( vyper/vyper/venom/passes/mem2var.py Line 45 in 6843e79
|
Right. But it is not safe to lift those atm, as it fails. If alloca's were super correct the "all mstores" should have not been a problem, but it probably not correct :/ |
my diagnosis is:
|
Version Information
vyper --version
): 6606dedWhat's your issue about?
examples of unlifted variables:
How can it be fixed?
Fill this in if you know how to fix it.
The text was updated successfully, but these errors were encountered: