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

Fix IR operation usage to use OpSize when possible #4132

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Sonicadvance1
Copy link
Member

No functional change.

This is a continued stride towards using OpSize enums instead of constant numbers to reduce confusion and misunderstandings.

It gets very confusing at times when an argument to an IR operation is a size versus an index, or scale or another constant. We had already cleaned up a decent amount of this early this year, late last year but this hits all the OpcodeDispatcher files in the folder. Currently skips the base file, but once that one is done then we can mop up the rest of the IR operations to remove implicit size conversion.

Just a little cleanup while I'm distracted.

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