[llvm] AMDGPU: Custom lower fptrunc vectors for f32 -> f16 (PR #141883)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed May 28 22:47:12 PDT 2025
================
@@ -6900,14 +6902,44 @@ SDValue SITargetLowering::getFPExtOrFPRound(SelectionDAG &DAG, SDValue Op,
DAG.getTargetConstant(0, DL, MVT::i32));
}
+SDValue SITargetLowering::SplitFP_ROUNDVectorToPacks(SDValue Op,
----------------
arsenm wrote:
This would be shorter if it followed splitUnaryVectorOp, except this one needs to carry forward the rounding flag operand
https://github.com/llvm/llvm-project/pull/141883
More information about the llvm-commits
mailing list