git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310801
91177308-0d34-0410-b5e6-
96231b3b80d8
// Mask vectors support all subregister combinations and operations that
// extract half of vector.
if (ResVT.getVectorElementType() == MVT::i1)
- return Index = 0 || ((ResVT.getSizeInBits() == SrcVT.getSizeInBits() * 2) &&
- (Index == ResVT.getVectorNumElements()));
+ return Index == 0 || ((ResVT.getSizeInBits() == SrcVT.getSizeInBits()*2) &&
+ (Index == ResVT.getVectorNumElements()));
return (Index % ResVT.getVectorNumElements()) == 0;
}