[llvm] [AMDGPU] Expose RTZ version of f16 interpolation (PR #86614)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Mar 26 02:24:44 PDT 2024
    
    
  
================
@@ -173,6 +173,12 @@ defm : VInterpF16Pat<int_amdgcn_interp_inreg_p10_f16,
 defm : VInterpF16Pat<int_amdgcn_interp_inreg_p2_f16,
                      V_INTERP_P2_F16_F32_inreg, f16,
                      [VINTERPModsHi, VINTERPMods, VINTERPMods]>;
+defm : VInterpF16Pat<int_amdgcn_interp_inreg_p10_rtz_f16,
+                     V_INTERP_P10_RTZ_F16_F32_inreg, f32,
+                     [VINTERPModsHi, VINTERPMods, VINTERPModsHi]>;
+defm : VInterpF16Pat<int_amdgcn_interp_inreg_p2_rtz_f16,
+                     V_INTERP_P2_RTZ_F16_F32_inreg, f16,
----------------
ruiling wrote:
I think it makes sense to keep aligned with the non-rtz version?
https://github.com/llvm/llvm-project/pull/86614
    
    
More information about the llvm-commits
mailing list