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

Abhay/swift/bugfix outlining with stackrestore #9723

Open
wants to merge 3 commits into
base: swift/release/6.1
Choose a base branch
from

Conversation

AbhayKanhere
Copy link

[Transforms][CodeExtraction] bug fix regions with stackrestore
Ensure code extraction for outlining to a function does not create a function with stacksave/ stackrestore referring to stack from outside the function.

   Ensure code extraction for outlining to a function does not
  create a function with tail-call i.e. using stacksave of caller
  to restore stack. Code Extractor can include all other
  basic blocks without such stack restore blocks.

symmetric scenario with stacksave with out-of-fn use
refined fix with only instructions in block
@AbhayKanhere AbhayKanhere requested a review from a team as a code owner December 12, 2024 00:58
@jroelofs
Copy link

@swift-ci test

@jroelofs
Copy link

@swift-ci test windows

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