[all-commits] [llvm/llvm-project] 87a926: [CIR][EH] Implement codegen for dynamic exception ...
Andy Kaylor via All-commits
all-commits at lists.llvm.org
Fri Sep 18 15:31:04 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87a926c0d736192ad8e149759347bfa8bd46d636
https://github.com/llvm/llvm-project/commit/87a926c0d736192ad8e149759347bfa8bd46d636
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2026-09-18 (Fri, 18 Sep 2026)
Changed paths:
M clang/include/clang/CIR/Dialect/IR/CIROps.td
M clang/lib/CIR/CodeGen/CIRGenException.cpp
M clang/lib/CIR/CodeGen/CIRGenFunction.cpp
M clang/lib/CIR/CodeGen/CIRGenFunction.h
M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
A clang/test/CIR/CodeGen/ehspec-noexcept.cpp
A clang/test/CIR/CodeGen/ehspec.cpp
M clang/test/CIR/CodeGen/rtti-qualfn.cpp
M clang/test/CIR/IR/invalid-try-catch.cir
M clang/test/CIR/IR/try-catch.cir
M clang/test/CIR/Transforms/eh-abi-lowering-eh-spec.cir
M clang/test/CIR/Transforms/flatten-eh-spec.cir
Log Message:
-----------
[CIR][EH] Implement codegen for dynamic exception specification (#224375)
This implements CIR generation for C++ functions with dynamic exception
specifications. The exception filter is implemented as a cir.try
operation that wraps the entire function body. CFG flattening and EH ABI
lowerting were implemented in previous changes, so they are already in
place.
This also adds an NYI diagnostic for functions marked `noexcept`. That
will be implemented in a follow-up change, but the new diagnostic forced
updates to a few tests that were using that form.
Assisted-by: Cursor / various models
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list