================
@@ -4929,6 +4927,10 @@ mlir::LogicalResult 
CIRToLLVMResumeFlatOpLowering::matchAndRewrite(
 mlir::LogicalResult CIRToLLVMEhTypeIdOpLowering::matchAndRewrite(
     cir::EhTypeIdOp op, OpAdaptor adaptor,
     mlir::ConversionPatternRewriter &rewriter) const {
+  if (op->getParentOfType<mlir::omp::ParallelOp>())
+    return op.emitError("catching a specific exception type inside an OpenMP "
+                        "parallel region is not yet implemented");
+
----------------
koparasy wrote:

Should we check here for `mlir::omp::OutlineableOpenMPOpInterface` so we apply 
the NIY in other cases as well?

https://github.com/llvm/llvm-project/pull/230509
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to