[llvm] [SimplifyCFG] Don't limit the number of simultaneous forwards from switch condition (PR #95932)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 19:56:26 PDT 2024


================
@@ -18,7 +18,7 @@ bb3:
 bb4:
   br label %exit.sink.split
 exit.sink.split:
-  %.sink = phi i32 [ 5, %bb4 ], [ %b, %bb1 ], [ 3, %bb3 ], [ %a, %entry ]
+  %.sink = phi i32 [ 5, %bb4 ], [ %b, %bb1 ], [ 7, %bb3 ], [ %a, %entry ]
----------------
dtcxzyw wrote:

Can you explain this change?


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


More information about the llvm-commits mailing list