[X86] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after r373174

llvm-svn: 373175
This commit is contained in:
Fangrui Song 2019-09-30 02:06:23 +00:00
parent 1069c01924
commit 6c320b22cd
1 changed files with 1 additions and 0 deletions

View File

@ -20570,6 +20570,7 @@ static SDValue LowerVSETCC(SDValue Op, const X86Subtarget &Subtarget,
}
MVT VTOp0 = Op0.getSimpleValueType();
(void)VTOp0;
assert(VTOp0 == Op1.getSimpleValueType() &&
"Expected operands with same type!");
assert(VT.getVectorNumElements() == VTOp0.getVectorNumElements() &&