Skip to content

Clean up and refactor ReplaceBack optimization to allow loops#365

Merged
totalspectrum merged 1 commit intototalspectrum:masterfrom
Wuerfel21:W21-replaceback-loops
Apr 5, 2023
Merged

Clean up and refactor ReplaceBack optimization to allow loops#365
totalspectrum merged 1 commit intototalspectrum:masterfrom
Wuerfel21:W21-replaceback-loops

Conversation

@Wuerfel21
Copy link
Contributor

Turns out InstrModifies does weird things with subregs and SafeToReplaceBack was giving wrong results, saved only be the actual ReplaceBack having the same check duplicated, but slightly different without InstrModifies. Maybe it should be renamed to InstrMightModify?

Eitherhow, can now ReplaceBack over loops, but that part is only enabled on experimental.

@Wuerfel21
Copy link
Contributor Author

REM that this is still open

@totalspectrum totalspectrum merged commit e2d736b into totalspectrum:master Apr 5, 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