[clang] [CIR] Upstream TryCallOp (PR #165303)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 25 14:47:39 PST 2025


================
@@ -2855,6 +2855,95 @@ def CIR_CallOp : CIR_CallOpBase<"call", [NoRegionArguments]> {
   ];
 }
 
+def CIR_TryCallOp : CIR_CallOpBase<"try_call",[
+  Terminator
+]> {
+  let summary = "try_call operation";
+  let description = [{
+    Mostly similar to `cir.call` but requires two destination
----------------
andykaylor wrote:

```suggestion
    Similar to `cir.call` but requires two destination
```

https://github.com/llvm/llvm-project/pull/165303


More information about the cfe-commits mailing list