[all-commits] [llvm/llvm-project] 1d9fb6: AMDGPU: Fold mov imm to copy to av_32 class

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Aug 26 16:26:26 PDT 2025


  Branch: refs/heads/users/arsenm/amdgpu/fold-s-mov-imm-into-av-copy
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d9fb6138ad5f4c98d33a71b492aaf6af8d70b9a
      https://github.com/llvm/llvm-project/commit/1d9fb6138ad5f4c98d33a71b492aaf6af8d70b9a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
    M llvm/test/CodeGen/AMDGPU/fold-imm-copy-agpr.mir
    M llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir
    M llvm/test/CodeGen/AMDGPU/mfma-loop.ll

  Log Message:
  -----------
  AMDGPU: Fold mov imm to copy to av_32 class

Previously we had special case folding into copies to AGPR_32,
ignoring AV_32. Try folding into the pseudos.

Not sure why the true16 case regressed.


  Commit: 5fe4d5ea1b21b382966b5384ed9ce3ee36d6a097
      https://github.com/llvm/llvm-project/commit/5fe4d5ea1b21b382966b5384ed9ce3ee36d6a097
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp

  Log Message:
  -----------
  Restore SGPR_LO16 handling


Compare: https://github.com/llvm/llvm-project/compare/f79cef3fd54c...5fe4d5ea1b21

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