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 7c31a81 commit f1d0b15Copy full SHA for f1d0b15
llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
@@ -1230,10 +1230,8 @@ class LegalizeRuleSet {
1230
assert(MinTy.getElementType() == MaxTy.getElementType() &&
1231
"Expected element types to agree");
1232
1233
- if (MinTy.isScalableVector())
1234
- return actionIf(LegalizeAction::Unsupported, always);
1235
- if (MaxTy.isScalableVector())
1236
+ assert((!MinTy.isScalableVector() && !MaxTy.isScalableVector())
+ && "Unexpected scalable vectors");
1237
1238
const LLT EltTy = MinTy.getElementType();
1239
return clampMinNumElements(TypeIdx, EltTy, MinTy.getNumElements())
0 commit comments