[clang] [CIR] Fix lost catch clauses on EH landing pads (PR #205638)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 24 14:52:09 PDT 2026
================
@@ -397,17 +474,40 @@ mlir::LogicalResult ItaniumEHLowering::lowerFunc(cir::FuncOp funcOp) {
/// \p ehTokenMap is shared across all initiates in the function so that block
/// arguments reachable from multiple sibling initiates are registered once.
mlir::LogicalResult ItaniumEHLowering::lowerEhInitiate(
- cir::EhInitiateOp initiateOp, EhTokenMap &ehTokenMap,
- SmallVectorImpl<mlir::Operation *> &deadOps) {
+ cir::EhInitiateOp initiateOp,
+ llvm::ArrayRef<cir::EhDispatchOp> reachedDispatches, bool reachesCleanup,
+ EhTokenMap &ehTokenMap, SmallVectorImpl<mlir::Operation *> &deadOps) {
----------------
andykaylor wrote:
The `deadOps` argument is no longer used. It can also be removed from `lowerDispatch`. It's just tracking the dispatch operations we've lowered.
https://github.com/llvm/llvm-project/pull/205638
More information about the cfe-commits
mailing list