Skip to content
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

Compiler pass "add array init" creates a lval with a dummy location #718

Closed
eponier opened this issue Feb 7, 2024 · 2 comments · Fixed by #753
Closed

Compiler pass "add array init" creates a lval with a dummy location #718

eponier opened this issue Feb 7, 2024 · 2 comments · Fixed by #753
Labels

Comments

@eponier
Copy link
Contributor

eponier commented Feb 7, 2024

The instruction itself has a location, but not the lval. I do not know what to do here, maybe there is no good solution.

@eponier
Copy link
Contributor Author

eponier commented Feb 8, 2024

(The corresponding line is

let x := VarI x dummy_var_info in
)

@J08nY
Copy link
Contributor

J08nY commented Mar 11, 2024

This may be possible to solve the same way as in: c727337. There the dummy flag variables __of__, __zf__, ... did not have any variable info. Here, the dummy var info could be replaced with (var_info_of_ii ii) after #736 lands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants