Fixed unused variable warning. NFCI.

llvm-svn: 325950
This commit is contained in:
Simon Pilgrim 2018-02-23 20:16:18 +00:00
parent 61d6ddbf0a
commit 69b8fa8391
1 changed files with 1 additions and 1 deletions

View File

@ -31887,7 +31887,7 @@ static SDValue combineSelect(SDNode *N, SelectionDAG &DAG,
SUBUSBuilder);
if (auto *OpRHSBV = dyn_cast<BuildVectorSDNode>(OpRHS))
if (auto *CondRHSBV = dyn_cast<BuildVectorSDNode>(CondRHS)) {
if (isa<BuildVectorSDNode>(CondRHS)) {
// If the RHS is a constant we have to reverse the const
// canonicalization.
// x > C-1 ? x+-C : 0 --> subus x, C