forked from OSchip/llvm-project
[X86] Fix unused variable in release builds.
llvm-svn: 322262
This commit is contained in:
parent
bf8751dc48
commit
d1696e8d6c
|
@ -24369,7 +24369,6 @@ static SDValue LowerMSCATTER(SDValue Op, const X86Subtarget &Subtarget,
|
|||
}
|
||||
|
||||
MVT IndexVT = Index.getSimpleValueType();
|
||||
MVT MaskVT = Mask.getSimpleValueType();
|
||||
|
||||
// If the index is v2i32, we're being called by type legalization and we
|
||||
// should just let the default handling take care of it.
|
||||
|
@ -24397,7 +24396,8 @@ static SDValue LowerMSCATTER(SDValue Op, const X86Subtarget &Subtarget,
|
|||
|
||||
// Mask
|
||||
// At this point we have promoted mask operand
|
||||
assert(MaskVT.getScalarType() == MVT::i1 && "unexpected mask type");
|
||||
assert(Mask.getValueType().getScalarType() == MVT::i1 &&
|
||||
"unexpected mask type");
|
||||
MVT ExtMaskVT = MVT::getVectorVT(MVT::i1, NumElts);
|
||||
// Use the original mask here, do not modify the mask twice
|
||||
Mask = ExtendToType(N->getMask(), ExtMaskVT, DAG, true);
|
||||
|
|
Loading…
Reference in New Issue