We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62d3685 commit 46b97a8Copy full SHA for 46b97a8
llvm/include/llvm/CodeGen/BasicTTIImpl.h
@@ -1116,7 +1116,7 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
1116
if (isSplatMask(Mask, NumSrcElts, Index))
1117
return TTI::SK_Broadcast;
1118
if (ShuffleVectorInst::isExtractSubvectorMask(Mask, NumSrcElts, Index) &&
1119
- (Index + NumDstElts) <= (size_t)NumSrcElts) {
+ (Index + NumDstElts) <= NumSrcElts) {
1120
SubTy = FixedVectorType::get(SrcTy->getElementType(), NumDstElts);
1121
return TTI::SK_ExtractSubvector;
1122
}
0 commit comments