================
@@ -2264,6 +2263,14 @@ OpenMPIRBuilder::InsertPointOrErrorTy 
OpenMPIRBuilder::createSections(
     AfterIP = {FiniBB, FiniBB->begin()};
   }
 
+  // Now we can fix the dummy branch to point to the right place
+  if (!CancellationBranches.empty()) {
----------------
Meinersbur wrote:

Condition is unnecessary: If `CancellationBranches` is empty, the loop will not 
execute anyway

https://github.com/llvm/llvm-project/pull/137193
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to