diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 50502e2911e..95827fbed5d 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -40493,8 +40493,7 @@ static SDValue combineVectorCompareAndMaskUnaryOp(SDNode *N, // make the transformation for non-constant splats as well, but it's unclear // that would be a benefit as it would not eliminate any operations, just // perform one more step in scalar code before moving to the vector unit. - if (BuildVectorSDNode *BV = - dyn_cast(N->getOperand(0)->getOperand(1))) { + if (auto *BV = dyn_cast(N->getOperand(0).getOperand(1))) { // Bail out if the vector isn't a constant. if (!BV->isConstant()) return SDValue();