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.
destroy_value
1 parent d8bf949 commit 07f2ec3Copy full SHA for 07f2ec3
lib/SILOptimizer/Analysis/FunctionOrder.cpp
@@ -40,7 +40,8 @@ void BottomUpFunctionOrder::DFS(SILFunction *Start) {
40
for (auto &B : *Start) {
41
for (auto &I : B) {
42
auto FAS = FullApplySite::isa(&I);
43
- if (!FAS && !isa<StrongReleaseInst>(&I) && !isa<ReleaseValueInst>(&I))
+ if (!FAS && !isa<StrongReleaseInst>(&I) && !isa<ReleaseValueInst>(&I) &&
44
+ !isa<DestroyValueInst>(&I))
45
continue;
46
47
auto Callees = FAS ? BCA->getCalleeList(FAS)
0 commit comments