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

Ensure getParentRegisters returns all the parent register. #1336

Merged
merged 2 commits into from
Jun 22, 2024

Conversation

jordan9001
Copy link
Contributor

Adds a new test and updates the getParentRegisters implementations so that all parent register are returned, and sub-registers are not.
See #1335

@@ -297,21 +297,29 @@ namespace triton {
auto regId = kv.first;
const auto& reg = kv.second;

/* Skip Vector and System registers */
if (this->isVectorRegister(regId) || this->isSystemRegister(regId))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why were the system registers being skipped originally? Is there a reason they should not be included?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If i remember correctly it was because I did not want to pollute to much the output. So, clearly not a good reason ^^.

@JonathanSalwan JonathanSalwan changed the base branch from master to dev-v1.0 June 17, 2024 18:32
@JonathanSalwan JonathanSalwan added this to the v1.0 milestone Jun 22, 2024
@JonathanSalwan JonathanSalwan merged commit 429c6ed into JonathanSalwan:dev-v1.0 Jun 22, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants