[all-commits] [llvm/llvm-project] 8c1a5f: AMDGPU: Form v_med_f32 from minimumnum/maximumnum ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu May 22 12:02:21 PDT 2025


  Branch: refs/heads/users/arsenm/amdgpu/form-fmed3-from-immediate-pattern-minimumnum-maximumnum
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c1a5fe7944d6adf41260350b10db93a1f3f73eb
      https://github.com/llvm/llvm-project/commit/8c1a5fe7944d6adf41260350b10db93a1f3f73eb
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/clamp.ll

  Log Message:
  -----------
  AMDGPU: Form v_med_f32 from minimumnum/maximumnum immediate pattern

This makes little difference in the final output, as we manage to form this
after these are lowered to the _ieee operations. This does result in fewer steps
in the DAG, and helps prepare for changing the handling of minnum/maxnum.



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