File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -13490,6 +13490,7 @@ struct NodeExtensionHelper {
13490
13490
MVT NarrowVT = getNarrowType(Root, *SupportsExt);
13491
13491
13492
13492
SDValue Source = getSource();
13493
+ assert(Subtarget.getTargetLowering()->isTypeLegal(Source.getValueType()));
13493
13494
if (Source.getValueType() == NarrowVT)
13494
13495
return Source;
13495
13496
@@ -13657,9 +13658,6 @@ struct NodeExtensionHelper {
13657
13658
unsigned ScalarBits = VT.getScalarSizeInBits();
13658
13659
unsigned NarrowScalarBits = NarrowVT.getScalarSizeInBits();
13659
13660
13660
- assert(
13661
- Subtarget.getTargetLowering()->isTypeLegal(NarrowElt.getValueType()));
13662
-
13663
13661
// Ensure the extension's semantic is equivalent to rvv vzext or vsext.
13664
13662
if (ScalarBits != NarrowScalarBits * 2)
13665
13663
break;
You can’t perform that action at this time.
0 commit comments