mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-02 18:42:36 +00:00
Inline local variable to silence unused warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236212 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4a25fbea03
commit
40838f84f4
@ -7983,8 +7983,7 @@ void SelectionDAGBuilder::splitWorkItem(SwitchWorkList &WorkList,
|
||||
assert(W.FirstCluster->Low->getValue().slt(W.LastCluster->Low->getValue()) &&
|
||||
"Clusters not sorted?");
|
||||
|
||||
unsigned NumClusters = W.LastCluster - W.FirstCluster + 1;
|
||||
assert(NumClusters >= 2 && "Too small to split!");
|
||||
assert(W.LastCluster - W.FirstCluster + 1 >= 2 && "Too small to split!");
|
||||
|
||||
// Balance the tree based on branch weights to create a near-optimal (in terms
|
||||
// of search time given key frequency) binary search tree. See e.g. Kurt
|
||||
|
Loading…
x
Reference in New Issue
Block a user