[clang] [CIR] Upstream Exceptions EHTypeIdOp (PR #172558)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 17 10:22:52 PST 2025
================
@@ -5404,6 +5404,30 @@ def CIR_EhInflightOp : CIR_Op<"eh.inflight_exception"> {
}];
}
+//===----------------------------------------------------------------------===//
+// Exception related: EhTypeIdOp
+//===----------------------------------------------------------------------===//
+
+def CIR_EhTypeIdOp : CIR_Op<"eh.typeid",
+ [Pure, DeclareOpInterfaceMethods<SymbolUserOpInterface>]> {
+ let summary = "Compute exception type id from it's global type symbol";
----------------
andykaylor wrote:
```suggestion
let summary = "Compute exception type id from its global type symbol";
```
https://github.com/llvm/llvm-project/pull/172558
More information about the cfe-commits
mailing list