[all-commits] [llvm/llvm-project] 1fcfee: [AMDGPU] Adapt new lowering sequence for `fdiv16`

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Oct 3 21:37:26 PDT 2024


  Branch: refs/heads/users/shiltian/fp16-correctly-rounded-sequence
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fcfeea726a94e3c92d36d5d33a2ddd3d5d71e74
      https://github.com/llvm/llvm-project/commit/1fcfeea726a94e3c92d36d5d33a2ddd3d5d71e74
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2024-10-04 (Fri, 04 Oct 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f16.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/frem.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir
    M llvm/test/CodeGen/AMDGPU/fdiv.f16.ll
    M llvm/test/CodeGen/AMDGPU/fold-int-pow2-with-fmul-or-fdiv.ll
    M llvm/test/CodeGen/AMDGPU/frem.ll

  Log Message:
  -----------
  [AMDGPU] Adapt new lowering sequence for `fdiv16`

The current lowering of fdiv16 can generate incorrectly rounded result in some
cases.

Fixes SWDEV-47760.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list