[all-commits] [llvm/llvm-project] 7d1473: [AMDGPU] Generate s_absdiff_i32 (#164835)

LU-JOHN via All-commits all-commits at lists.llvm.org
Mon Oct 27 12:41:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d14733c12d909e1bdd1499c9557e78565aca4ae
      https://github.com/llvm/llvm-project/commit/7d14733c12d909e1bdd1499c9557e78565aca4ae
  Author: LU-JOHN <John.Lu at amd.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    A llvm/test/CodeGen/AMDGPU/absdiff.ll
    M llvm/test/CodeGen/AMDGPU/s_cmp_0.ll

  Log Message:
  -----------
  [AMDGPU] Generate s_absdiff_i32 (#164835)

Generate s_absdiff_i32. Tested in absdiff.ll. Also update s_cmp_0.ll to
test that s_absdiff_i32 is foldable with a s_cmp_lg_u32 sX, 0.

---------

Signed-off-by: John Lu <John.Lu at amd.com>



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