[clang] [CIR] Don't create EH paths for lifetime-marker-only cleanups (PR #224829)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 22 11:08:00 PDT 2026


================
@@ -230,11 +223,10 @@ void for_condvar() {
 // CIR-EH:         } cleanup all {
 // CIR-EH:           cir.lifetime.end %[[C]] : !cir.ptr<!s32i>
 
-// LLVM-EH-LABEL: define{{.*}} void @_Z11for_condvarv
+// LLVM-EH-LABEL: define{{.*}} void @_Z11for_condvarv() #{{[0-9]+}} {
----------------
andykaylor wrote:

LLVM-EH-NOT

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


More information about the cfe-commits mailing list