[llvm] [SimplifyCFG] Consider preds to switch in `simplifyDuplicateSwitchArms` (PR #118955)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 6 07:06:30 PST 2024
================
@@ -340,15 +340,23 @@ entry:
i32 3, label %sw.bb3
]
-sw.bb: br label %if.end
-sw.bb1: br label %if.end
-sw.bb2: br label %if.end
-sw.bb3: br label %if.end
-sw.default: br label %if.end
-if.else: br label %if.end
+sw.bb: ; preds = %entry, %entry
----------------
michaelmaitland wrote:
Did you mean to change these lines?
https://github.com/llvm/llvm-project/pull/118955
More information about the llvm-commits
mailing list