[all-commits] [llvm/llvm-project] 038d35: AMDGPU: Use minimumnum/maximumnum for fmed3 with a...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon May 12 11:32:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 038d357dde4907d39f6a3fabbaf48dc39cf9dc60
      https://github.com/llvm/llvm-project/commit/038d357dde4907d39f6a3fabbaf48dc39cf9dc60
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-12 (Mon, 12 May 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
    M llvm/test/Transforms/InstCombine/AMDGPU/fmed3.ll

  Log Message:
  -----------
  AMDGPU: Use minimumnum/maximumnum for fmed3 with amdgpu-ieee=0
 (#139546)

Try to respect the signaling nan behavior of the instruction,
so also start the special case fold for src2.



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