forked from OSchip/llvm-project
[X86] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after r373174
llvm-svn: 373175
This commit is contained in:
parent
1069c01924
commit
6c320b22cd
|
@ -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() &&
|
||||
|
|
Loading…
Reference in New Issue