[llvm] [SCEV] Do not attempt to collect loop guards for loops without predecessor. (PR #123662)

Julian Nagele via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 09:20:25 PST 2025


================
@@ -336,3 +336,31 @@ exit:
   ret void
 
 }
+
+; Checks correct traversal for loops without a unique predecessor
+; outside the loop.
+define void @pr122913() {
----------------
juliannagele wrote:

Thanks! -- updated the test

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


More information about the llvm-commits mailing list