[all-commits] [llvm/llvm-project] fe5f49: [AMDGPU][GlobalISel] Lower G_FMINIMUM and G_FMAXIM...

Mirko Brkušanin via All-commits all-commits at lists.llvm.org
Fri Oct 24 05:48:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe5f49942eb7b27989b04736bc91e14730dc478d
      https://github.com/llvm/llvm-project/commit/fe5f49942eb7b27989b04736bc91e14730dc478d
  Author: Mirko Brkušanin <Mirko.Brkusanin at amd.com>
  Date:   2025-10-24 (Fri, 24 Oct 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaximum.mir
    A llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminimum.mir
    M llvm/test/CodeGen/AMDGPU/fmaximum.ll
    M llvm/test/CodeGen/AMDGPU/fminimum.ll

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Lower G_FMINIMUM and G_FMAXIMUM (#151122)

Add GlobalISel lowering of G_FMINIMUM and G_FMAXIMUM following the same
logic as in SDag's expandFMINIMUM_FMAXIMUM.
Update AMDGPU legalization rules: Pre GFX12 now uses new lowering method
and make G_FMINNUM_IEEE and G_FMAXNUM_IEEE legal to match SDag.



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