[all-commits] [llvm/llvm-project] a8946b: AMDGPU: Add fmed3 fold tests with flags

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


  Branch: refs/heads/users/arsenm/amdgpu/fmed3-use-minimumnum-maximumnum-no-ieee-mode
  Home:   https://github.com/llvm/llvm-project
  Commit: a8946be018815e4f5d5431c55d8156f614b2aa85
      https://github.com/llvm/llvm-project/commit/a8946be018815e4f5d5431c55d8156f614b2aa85
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-12 (Mon, 12 May 2025)

  Changed paths:
    M llvm/test/Transforms/InstCombine/AMDGPU/fmed3.ll

  Log Message:
  -----------
  AMDGPU: Add fmed3 fold tests with flags


  Commit: 79ef4a0d2c105e3f067ccbf8bf59d5b8c12f0e6d
      https://github.com/llvm/llvm-project/commit/79ef4a0d2c105e3f067ccbf8bf59d5b8c12f0e6d
  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

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


Compare: https://github.com/llvm/llvm-project/compare/e1186ecbb68b...79ef4a0d2c10

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