Skip to content

Conversation

carlos4242
Copy link
Contributor

Corruption can occur with passing parameters on the stack when under register pressure.

See this forum discussion for details (or the GitHub issue) https://discourse.llvm.org/t/avr-register-allocation-issue-help-advice-with-debugging/88498/11

@aykevl @benshi001

@carlos4242
Copy link
Contributor Author

carlos4242 commented Oct 17, 2025

Closes #163015

Copy link
Member

Choose a reason for hiding this comment

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

please use update_llc_test_checks.py to generate CHECK lines. Also, is there any reason you need -v -dump-input always?

Copy link
Member

Choose a reason for hiding this comment

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

I think it is not needed to run update_llc_test_checks.py, since the key check point in this test are the CHECK-NOT lines.

Copy link
Member

Choose a reason for hiding this comment

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

It is up to reviewer to mark resolved/unresolved.

@mshockwave Do you have any more concerns for that?

Copy link
Member

@benshi001 benshi001 left a comment

Choose a reason for hiding this comment

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

As my inline comments.

@carlos4242
Copy link
Contributor Author

previous PR that I accidentally closed: #163082

@carlos4242
Copy link
Contributor Author

Hi @mshockwave @benshi001 are we anywhere near getting this signed off and merged? It's not a very big PR and it would be a shame if it just ends up in limbo.

I've got one or two more AVR PRs I wanted to try and get in after this one, before I step back from AVR.

C

@benshi001
Copy link
Member

Hi @mshockwave @benshi001 are we anywhere near getting this signed off and merged? It's not a very big PR and it would be a shame if it just ends up in limbo.

I've got one or two more AVR PRs I wanted to try and get in after this one, before I step back from AVR.

C

Though I am the maintainer of the AVR part, I have to respect other reviewer's suggestion, if @mshockwave didn't response by Friday, I will merge it.

@mshockwave what's your opinion?

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.

3 participants