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 50f8829 commit 3e27dc8Copy full SHA for 3e27dc8
lib/SILOptimizer/Utils/ConstExpr.cpp
@@ -528,6 +528,9 @@ SymbolicValue ConstExprFunctionState::computeConstantValue(SILValue value) {
528
if (auto *convertEscapeInst = dyn_cast<ConvertEscapeToNoEscapeInst>(value))
529
return getConstantValue(convertEscapeInst->getOperand());
530
531
+ if (auto *mdi = dyn_cast<MarkDependenceInst>(value))
532
+ return getConstantValue(mdi->getValue());
533
+
534
LLVM_DEBUG(llvm::dbgs() << "ConstExpr Unknown simple: " << *value << "\n");
535
536
// Otherwise, we don't know how to handle this.
0 commit comments