[llvm] [SCEV] Fix a hang introduced by collectForPHI (PR #158153)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 12 08:18:36 PDT 2025


================
@@ -364,3 +364,34 @@ body:
 exit:
   ret void
 }
+
+define void @hang_due_to_unreachable_phi_inblock() personality ptr null {
----------------
preames wrote:

Yep, that was the problem.  Fixed, and cleaned up the test a bit manually as well.  

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


More information about the llvm-commits mailing list