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 25280cb commit 837075cCopy full SHA for 837075c
lib/IRGen/GenPack.cpp
@@ -381,6 +381,7 @@ static void emitPackExpansionPack(
381
IGF.Builder.CreateCondBr(cond, loop, rest);
382
383
IGF.Builder.emitBlock(loop);
384
+ ConditionalDominanceScope condition(IGF);
385
386
auto *element = elementForIndex(phi);
387
@@ -824,6 +825,8 @@ llvm::Value *irgen::emitTypeMetadataPackElementRef(
824
825
// (1) Emit check_i {{
826
IGF.Builder.emitBlock(checkBounds);
827
828
+ ConditionalDominanceScope dominanceScope(IGF);
829
+
830
// The upper bound for the current pack expansion. Exclusive.
831
llvm::Value *upperBound = nullptr;
832
llvm::Value *condition = nullptr;
0 commit comments