================
@@ -6798,6 +6781,9 @@ SDValue RISCVTargetLowering::lowerVECTOR_SHUFFLE(SDValue
Op,
}
if (UsesBothSources &&
+ isLegalVTForZvzipInterleavedOperand(
+ V1.getSimpleValueType().getDoubleNumVectorElementsVT(),
+ Subtarget) &&
----------------
BoyaoWang430 wrote:
This checks the doubled type, but the calls below lower the original V1/V2.
Please validate the actual operand type; otherwise <4 x i32> on Zve32x produces
an illegal result.
https://github.com/llvm/llvm-project/pull/210603
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits