[clang] [CIR] Represent Cleanups with Cleanup scopes (PR #180276)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 18 14:02:07 PST 2026


================
@@ -45,10 +45,10 @@ void test_cleanup_array() {
 // CIR:   cir.return
 
 // LLVM: define{{.*}} void @_Z18test_cleanup_arrayv()
+// LLVM:   %[[ITER:.*]] = alloca ptr, i64 1
----------------
andykaylor wrote:

```suggestion
// LLVM:   %[[ITER:.*]] = alloca ptr
```

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


More information about the cfe-commits mailing list