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

Regalloc: improve printing of equiv. traces #1027

Merged
merged 1 commit into from
Feb 3, 2025
Merged

Conversation

vbgl
Copy link
Member

@vbgl vbgl commented Jan 27, 2025

Fixes #1026.

@vbgl vbgl added this to the 2024.07.3 milestone Jan 27, 2025
@@ -0,0 +1,10 @@
export fn main(reg u32 x) -> reg u32 {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand the interest of the test.
I mean we don't check that printing will not change, so what are we testing here ?

Copy link
Member Author

Choose a reason for hiding this comment

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

You are right. This is just an example that I’ve been using to check these changes. However, there is no need to keep in in the repository. Let me remove it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@vbgl vbgl force-pushed the regalloc-better-traces branch from e2dadc0 to 122cd61 Compare January 29, 2025 10:18
@bgregoir bgregoir merged commit d47a839 into main Feb 3, 2025
1 check passed
@bgregoir bgregoir deleted the regalloc-better-traces branch February 3, 2025 07:59
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.

Register allocation error shows useless wrong line information
2 participants