[llvm] [llvm] Adding scalarization of `llvm.vector.insert` (PR #71614)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 7 18:19:02 PST 2023
================
@@ -5891,8 +5910,11 @@ SDValue DAGTypeLegalizer::WidenVecRes_SETCC(SDNode *N) {
InOp1 = GetWidenedVector(InOp1);
InOp2 = GetWidenedVector(InOp2);
} else {
- InOp1 = DAG.WidenVector(InOp1, SDLoc(N));
- InOp2 = DAG.WidenVector(InOp2, SDLoc(N));
+ do {
----------------
arsenm wrote:
Type legalization doesn't operate incrementally in individual steps. Newly legalized operations are supposed to be re-legalized later if necessary
https://github.com/llvm/llvm-project/pull/71614
More information about the llvm-commits
mailing list