[llvm] [SimplifyCFG] Look at all uses when checking phi incoming for UB (PR #200164)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 3 03:19:22 PDT 2026


================
@@ -349,4 +349,43 @@ if.end7:                                          ; preds = %if.else, %if.then4,
   ret i32 %tmp9
 }
 
+define i64 @test5_several_uses(i1 %c, i1 %branch, ptr %p) nounwind {
----------------
nikic wrote:

nounwind shouldn't be relevant.

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


More information about the llvm-commits mailing list