Skip to content

[AVR] Implement selection of 'ISD::RETURNADDR' and 'ISD::FRAMEADDR' - #222909

Merged
Patryk27 merged 3 commits into
llvm:mainfrom
benshi001:avr-fix-issue-179991
Sep 18, 2026
Merged

Patryk27 merged 3 commits into
llvm:mainfrom
benshi001:avr-fix-issue-179991

Conversation

@benshi001

Copy link
Copy Markdown
Member

fixes #179991

@benshi001
benshi001 requested a review from Patryk27 September 11, 2026 10:15
@benshi001
benshi001 force-pushed the avr-fix-issue-179991 branch 2 times, most recently from ceab335 to ebf21bc Compare September 11, 2026 10:19
@benshi001 benshi001 self-assigned this Sep 15, 2026
@Patryk27

Copy link
Copy Markdown
Contributor

🔍

@Patryk27 Patryk27 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've had to rebase locally to bring #221477 (to be able to cross-check clang with avr-gcc) - seems we're generating even better code!

I've left two small comments to clarify why we have to call setFrameAddressIsTaken() and setReturnAddressIsTaken(), other than that LGTM.

Comment thread llvm/lib/Target/AVR/AVRISelLowering.cpp
Comment thread llvm/lib/Target/AVR/AVRISelLowering.cpp
Comment thread llvm/lib/Target/AVR/AVRISelLowering.cpp
@benshi001
benshi001 requested a review from Patryk27 September 18, 2026 03:53
@Patryk27

Copy link
Copy Markdown
Contributor

Very nice! I see that pipeline failed on some spurious network error:

requests.exceptions.ReadTimeout: HTTPConnectionPool(host='premerge-advisor.premerge-advisor.svc.cluster.local', port=5000): Read timed out. (read timeout=5)

Let me restart the pipeline and, if it passes, I'll merge the code.

@Patryk27
Patryk27 force-pushed the avr-fix-issue-179991 branch from 24a4fd1 to 625d770 Compare September 18, 2026 19:39
@Patryk27
Patryk27 enabled auto-merge (squash) September 18, 2026 19:39
@Patryk27
Patryk27 merged commit 660dbc9 into llvm:main Sep 18, 2026
10 of 11 checks passed
@benshi001
benshi001 deleted the avr-fix-issue-179991 branch September 26, 2026 00:41
tru pushed a commit that referenced this pull request Oct 5, 2026
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.

[AVR] Failed to select ISD::FRAMEADDR and ISD::RETURNADDR

2 participants