Skip to content

Conversation

LucasSte
Copy link
Collaborator

The VM adjusts the stack pointer to the caller assigned value at a return/exit instruction, so we do not need to emit a add64 reg, +imm at the epilogue of a function.

@LucasSte LucasSte requested a review from Lichtso June 23, 2025 20:31
@LucasSte LucasSte marked this pull request as ready for review June 23, 2025 20:31
@LucasSte LucasSte merged commit dc34632 into anza-xyz:solana-rustc/19.1-2024-12-03 Jun 24, 2025
22 checks passed
@LucasSte LucasSte deleted the no-add-2 branch June 24, 2025 15:34
LucasSte added a commit to LucasSte/llvm-project that referenced this pull request Aug 12, 2025
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.

2 participants