================
@@ -43658,7 +43661,9 @@ static SDValue combineTargetShuffle(SDValue N, const 
SDLoc &DL,
       MVT NewVT =
           MVT::getVectorVT(BCVT.getSimpleVT().getScalarType(),
                            VT.getSizeInBits() / BCVT.getScalarSizeInBits());
-      return DAG.getBitcast(VT, DAG.getNode(X86ISD::VBROADCAST, DL, NewVT, 
BC));
+      if (TLI.isTypeLegal(NewVT))
----------------
RKSimon wrote:

Were you hitting this case?

https://github.com/llvm/llvm-project/pull/240805
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to