Skip to content

[flang] Reduce recursion in common::visit #85483

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

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Conversation

klausler
Copy link
Contributor

This patch yields small speed-ups in compiler build and execution times, but more importantly, reduces the stack depth needed in a build environment where tail call optimization does not appear to occur.

This patch yields small speed-ups in compiler build and execution times,
but more importantly, reduces the stack depth needed in a build
environment where tail call optimization does not appear to occur.
@klausler klausler requested a review from vzakhari March 15, 2024 23:32
@llvmbot llvmbot added the flang Flang issues not falling into any other category label Mar 15, 2024
Copy link
Contributor

@vzakhari vzakhari left a comment

Choose a reason for hiding this comment

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

Thank you, Peter!

@klausler klausler merged commit 0007d7e into llvm:main Mar 18, 2024
@klausler klausler deleted the visitor branch March 18, 2024 21:11
chencha3 pushed a commit to chencha3/llvm-project that referenced this pull request Mar 23, 2024
This patch yields small speed-ups in compiler build and execution times,
but more importantly, reduces the stack depth needed in a build
environment where tail call optimization does not appear to occur.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flang Flang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants