[llvm] [AMDGPU] Implement codegen for GFX11+ V_CVT_PK_[IU]16_F32 (PR #168719)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 11:25:19 PST 2025


================
@@ -6806,6 +6806,11 @@ SDValue SITargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) const {
     return splitTernaryVectorOp(Op, DAG);
   case ISD::FP_TO_SINT:
   case ISD::FP_TO_UINT:
+    if (AMDGPU::isGFX11Plus(*Subtarget) && Op.getValueType() == MVT::i16 &&
----------------
arsenm wrote:

Also better to not do this with a generation check 

https://github.com/llvm/llvm-project/pull/168719


More information about the llvm-commits mailing list