[clang] [CIR] Flatten loop ops with a cleanup region (PR #210472)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 20 11:49:07 PDT 2026


================
@@ -518,6 +518,164 @@ class CIRLoopOpInterfaceFlattening
                                                exit);
   }
 
+  // Return the cleanup-kind attribute or a null attribute if the loop has no
+  // cleanups.
+  static cir::CleanupKindAttr getLoopCleanupKind(cir::LoopOpInterface op) {
----------------
erichkeane wrote:

Hmm... ok, I am willing to 'punt' on the request for a 'fixme' (and just return a null attribute) until I see the future patches.  So lgtm.

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


More information about the cfe-commits mailing list