[llvm] [X86][SSE] Improve ISD::FP_TO_*INT_SAT vector lowering (PR #199416)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 23 17:25:33 PDT 2026
================
@@ -22549,7 +22563,157 @@ X86TargetLowering::LowerFP_TO_INT_SAT(SDValue Op, SelectionDAG &DAG) const {
dl, VecI16VT, Src);
return DAG.getNode(ISD::TRUNCATE, dl, DstVT, Res);
}
+ if (!Subtarget.hasAVX10_2() &&
----------------
phoebewang wrote:
vXi32 is legal to AVX10.2, no need the change here.
https://github.com/llvm/llvm-project/pull/199416
More information about the llvm-commits
mailing list