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.
2 parents 573fb94 + 2c700be commit f1e0dc0Copy full SHA for f1e0dc0
lib/SIL/Utils/PrunedLiveness.cpp
@@ -227,6 +227,14 @@ void PrunedLivenessBoundary::dump() const {
227
print(llvm::dbgs());
228
}
229
230
+// TODO: with guaranteed phis, it will be possible to hit this assert:
231
+// assert(succ->getSinglePredecessorBlock() == predBB);
232
+//
233
+// Once it's possible to test dead guaranteed phis, replace the assert with a
234
+// set to avoid multiple insertions at a merge point:
235
+// // Control flow merge blocks used as insertion points.
236
+// BasicBlockSet mergeBlocks;
237
238
void PrunedLivenessBoundary::visitInsertionPoints(
239
llvm::function_ref<void(SILBasicBlock::iterator insertPt)> visitor,
240
DeadEndBlocks *deBlocks) {
0 commit comments