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

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 18 11:13:03 PST 2026


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

```suggestion
// LLVM:       %[[ITER:.*]] = alloca ptr
```
We don't want this difference with OGCG, so we should stop checking for it where we aren't interested in that detail of the alloca.

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


More information about the cfe-commits mailing list