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

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


================
@@ -796,8 +823,19 @@ static void printCallCommon(mlir::Operation *op,
     assert(indirectCallee);
     printer << indirectCallee;
   }
+
   printer << "(" << ops << ")";
 
+  if (normalDest) {
+    assert(landingPad && "expected two successors");
----------------
andykaylor wrote:

```suggestion
    assert(unwindDest && "expected two successors");
```

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


More information about the cfe-commits mailing list