================ @@ -96,6 +94,12 @@ bool shouldUseWorkshareLowering(Operation *op) { if (isNestedIn<omp::SingleOp>(parentWorkshare, op)) return false; + if (parentWorkshare.getRegion().getBlocks().size() != 1) { + parentWorkshare->emitWarning( + "omp workshare with unstructured control flow currently unsupported."); ---------------- tblah wrote:
nit ```suggestion "omp workshare with unstructured control flow is currently unsupported."); ``` https://github.com/llvm/llvm-project/pull/101446 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits