[llvm] [llvm] Adding scalarization of `llvm.vector.insert` (PR #71614)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 8 00:28:37 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 {
----------------
davemgreen wrote:
The widening is only really intended to apply to integer types. A `v1i1 setcc v1f16` having been turned into a `v1i16 setcc v1f16` would be better to scalarize from there if we can tell it that.
https://github.com/llvm/llvm-project/pull/71614
More information about the llvm-commits
mailing list