[llvm] [SimplifyCFG] Convert switch to cmp/select sequence (PR #82795)

Thomas Symalla via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 03:13:06 PDT 2024


================
@@ -6166,6 +6166,279 @@ static bool trySwitchToSelect(SwitchInst *SI, IRBuilder<> &Builder,
   return true;
 }
 
+// The first field contains the value that the switch produces when a certain
+// case group is selected, and the second field is a vector containing the
+// cases composing the case group.
+using SwitchCaseResultVectorTy2 =
----------------
tsymalla wrote:

Still unresolved

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


More information about the llvm-commits mailing list