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

Homogenise names #1563

Merged
merged 2 commits into from
Jan 24, 2025
Merged

Homogenise names #1563

merged 2 commits into from
Jan 24, 2025

Conversation

ltratt
Copy link
Contributor

@ltratt ltratt commented Jan 24, 2025

While doing lots of JIT IR work I continually tripped over LoadInst's oddly named operand function. This PR fixes that, then homogenises StoreInsts equivalent. No functional change.

Fixes #1534.

`operand` is a semantically meaningless name: `ptr` is much clearer.
This matches the equivalent function in `LoadInst`.
@vext01 vext01 added this pull request to the merge queue Jan 24, 2025
Merged via the queue into ykjit:master with commit f02aabc Jan 24, 2025
2 checks passed
@ltratt ltratt deleted the homogenise_names branch January 24, 2025 16:16
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.

The jit_ir::Load::operand function should be called tgt.
2 participants