Skip to content

Conditionalize short sequences with same branch target#346

Merged
totalspectrum merged 1 commit intototalspectrum:masterfrom
Wuerfel21:W21-doublejmp2cond
Jan 17, 2023
Merged

Conditionalize short sequences with same branch target#346
totalspectrum merged 1 commit intototalspectrum:masterfrom
Wuerfel21:W21-doublejmp2cond

Conversation

@Wuerfel21
Copy link
Contributor

This deals with multiple branches going the same place. If possible, it now just conditionalizes over the second condition.

Really nice and short change.

@Wuerfel21
Copy link
Contributor Author

Potential downside to current impl: Could cause loss of speed if more than one op becomes conditional. Though currently seemingly offset by the benefit of other passes being able to better deal with the code. Obviously always a size saving.

@totalspectrum totalspectrum merged commit b4983e7 into totalspectrum:master Jan 17, 2023
@totalspectrum
Copy link
Owner

Thank you!

@Wuerfel21 Wuerfel21 mentioned this pull request Jul 1, 2023
4 tasks
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