[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:12:44 PDT 2024


================
@@ -77,6 +77,9 @@ static cl::opt<bool> UserSinkCommonInsts(
     "sink-common-insts", cl::Hidden, cl::init(false),
     cl::desc("Sink common instructions (default = false)"));
 
+static cl::opt<bool> UserSwitchToSelect(
----------------
tsymalla wrote:

```suggestion
static cl::opt<bool> UserConvertSwitchToSelect(
```

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


More information about the llvm-commits mailing list