We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28d7301 commit 23d62c8Copy full SHA for 23d62c8
llvm/lib/Transforms/Utils/CodeExtractor.cpp
@@ -639,12 +639,10 @@ bool CodeExtractor::isEligible() const {
639
bool IsRestore = II->getIntrinsicID() == Intrinsic::stackrestore;
640
if (IsSave && any_of(II->users(), [&Blks = this->Blocks](User *U) {
641
return !definedInRegion(Blks, U);
642
- })) {
+ }))
643
return false;
644
- }
645
- if (IsRestore && !definedInRegion(Blocks, II->getArgOperand(0))) {
+ if (IsRestore && !definedInRegion(Blocks, II->getArgOperand(0)))
646
647
648
}
649
650
return true;
0 commit comments