Skip to content

Conversation

@dibyendumajumdar
Copy link
Contributor

No description provided.

@dibyendumajumdar dibyendumajumdar force-pushed the ssabraun branch 6 times, most recently from 69cf922 to 88e7dae Compare February 23, 2025 00:44
WIP implement incremental SSA construction using Braun's method

WIP implement incremental SSA construction using Braun's method

WIP implement incremental SSA construction using Braun's method

WIP implement incremental SSA construction using Braun's method

Small refactor to help with the incremental SSA diff

Add option to control ISSA

Add missing use replacement in Phis
Some other cleanup and comments

Bug fix

Some prep work on enabling more tests

Consider temp registers too as part of SSA because in boolean expressions, a temp is assigned value more than once so although generally temps are SSA already, in this case they are not.

phi vars must also be SSA values
When temps are used for creating arrays and structs ensure they get processed in the same way as all temps.

Delete some unused code

bug fixes
Have to be seal BBs as soon as possible - will need to review this carefully

WIP pending issue with while stmt body - if we seal it at the start we have an issue

Dump out the non SSA ID with the register pool data so that we can see what slots were assigned

Seal the body block immediately after the condition in while stmt

Interpreter was using wrong regnum for SSA vars - this was okay until now because luckily the SSA vars did not survive, but with incremental SSA implementation, the bug became evident
@dibyendumajumdar dibyendumajumdar merged commit e166579 into main Feb 24, 2025
1 check passed
@dibyendumajumdar dibyendumajumdar deleted the ssabraun branch March 29, 2025 10:05
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.

2 participants