[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:01 PDT 2026


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

Again, prefer LLVM-EH-NOT.

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


More information about the cfe-commits mailing list