[all-commits] [llvm/llvm-project] 9d907a: AMDGPU][True16][CodeGen] FP_Round f64 to f16 in tr...

Brox Chen via All-commits all-commits at lists.llvm.org
Thu May 8 10:30:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d907a2bb1d2ce67ae4d203218df380a45abaf30
      https://github.com/llvm/llvm-project/commit/9d907a2bb1d2ce67ae4d203218df380a45abaf30
  Author: Brox Chen <guochen2 at amd.com>
  Date:   2025-05-08 (Thu, 08 May 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/fptrunc.f16.ll
    M llvm/test/CodeGen/AMDGPU/fptrunc.ll

  Log Message:
  -----------
  AMDGPU][True16][CodeGen] FP_Round f64 to f16 in true16 (#128911)

Update the f64 to f16 lowering for targets which support f16 types. 

For unsafe mode, lowered to two FP_ROUND. (This patch
https://reviews.llvm.org/D154528 stops from combining these two FP_ROUND
back). In safe mode, select LowerF64ToF16 (round-to-nearest-even
rounding mode)



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