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

Finish off Ssa #356

Merged
merged 13 commits into from
Sep 12, 2023
Merged

Finish off Ssa #356

merged 13 commits into from
Sep 12, 2023

Conversation

drcjt
Copy link
Owner

@drcjt drcjt commented Sep 11, 2023

Finish implementing Ssa

Add SsaRenameState to hold stacks used in renaming
Hook up renaming in SsaBuilder to walk the dominator tree
* If they are tracked or not
* If they are in SSA or not
* If they are address exposed or not
* PerSsaData used in Ssa Construction
Note Phi nodes not being updated yet.
Add new DumpSsa option to control output of Ssa information
@drcjt
Copy link
Owner Author

drcjt commented Sep 11, 2023

Note Ssa is only done on local variables that are:

  • not structs
  • not address exposed

@sonarcloud
Copy link

sonarcloud bot commented Sep 12, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

76.9% 76.9% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@drcjt drcjt merged commit 81d0e70 into main Sep 12, 2023
2 of 3 checks passed
@drcjt drcjt deleted the SSA-RenameVariables branch September 12, 2023 11:45
@drcjt
Copy link
Owner Author

drcjt commented Sep 12, 2023

Deals with #339 - need to write some automated tests though

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

Successfully merging this pull request may close these issues.

1 participant