[llvm] [Transforms][CodeExtraction] bug fix regions with stackrestore (PR #118564)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 6 02:11:37 PST 2024
================
@@ -627,6 +627,31 @@ bool CodeExtractor::isEligible() const {
return false;
}
}
+ // stacksave as input implies stackrestore in the outlined function
+ // This can confuse prologue epilogue insertion phase
+ // stacksave's uses must not cross outlined function
----------------
fhahn wrote:
```suggestion
// stacksave as input implies stackrestore in the outlined function.
// This can confuse prologue epilogue insertion phase.
// stacksave's uses must not cross outlined function.
```
Might also want to reflow comment
https://github.com/llvm/llvm-project/pull/118564
More information about the llvm-commits
mailing list