Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Rematerialisation step. #3332
This should work, but I would feel much more comfortable if we required a conversion to SSA first.
The main downside of SSA is that it requires either a re-unification of variable names or much more logic in the assembly stage (which I would rather avoid). Also it might destroy debug information about the stack location of local variables.
Perhaps we could try to keep some relation between the different variants of the same variable (i.e. by suffixing every variable by