CarlosAlbertoEnciso wrote: I am sorry for my delay in addressing the comments from the reviewers, but I was on PTO. The reworked patch addresses the issues and includes 2 test cases: - Multiple exit blocks - Single exit block. https://github.com/llvm/llvm-project/pull/69920