llvm-project
12d0672b - [CIR] Implement initial flattening of cleanup scope ops (#180063)

Commit
4 days ago
[CIR] Implement initial flattening of cleanup scope ops (#180063) This implements flattening of `cir.cleanup.scope` operations that have a single exit, and introduces checks to detect multiple exit cases and report an error when they are encountered. At this point, only normal cleanups are flattened. EH cleanup handling will be added in a future change. Substantial amounts of this PR were created using agentic AI tools, but I have carefully reviewed the code, comments, and tests and made changes as needed.
Author
Parents
Loading