[llvm] [AMDGPU][True16][MC] true16 for v_div_fixup_f16 (PR #119613)

Joe Nash via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 19 10:03:10 PST 2024


================
@@ -9292,6 +9292,7 @@ static bool isRenamedInGFX9(int Opcode) {
     GENERATE_RENAMED_GFX9_CASES(AMDGPU::V_SUB_U32)
   //
   case AMDGPU::V_DIV_FIXUP_F16_gfx9_e64:
+  case AMDGPU::V_DIV_FIXUP_F16_gfx9_fake16_e64:
----------------
Sisyph wrote:

This looks slightly weird. The fake16 instruction didn't exist until gfx11. But it depends on how isRenamedInGFX9 is used. I'm not sure if it is necessary, harmless, or harmful.

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


More information about the llvm-commits mailing list