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 57bc670 commit faa75bdCopy full SHA for faa75bd
lib/SILOptimizer/UtilityPasses/OSSALifetimeAnalysis.cpp
@@ -110,6 +110,8 @@ void OSSALifetimeAnalysis::run() {
110
for (auto &block : function) {
111
for (SILInstruction *inst : deleter.updatingRange(&block)) {
112
if (auto *debugValue = dyn_cast<DebugValueInst>(inst)) {
113
+ if (!debugValue->hasTrace())
114
+ continue;
115
traceValues.push_back(debugValue->getOperand());
116
deleter.forceDelete(debugValue);
117
}
0 commit comments