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

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


  Branch: refs/heads/users/arsenm/amdgpu/fold-s-mov-imm-into-av-copy
  Home:   https://github.com/llvm/llvm-project
  Commit: f79cef3fd54c7a40361afe90accc4f82a2fde0ec
      https://github.com/llvm/llvm-project/commit/f79cef3fd54c7a40361afe90accc4f82a2fde0ec
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-08-26 (Tue, 26 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/llvm.amdgcn.rcp.bf16.ll
    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.



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