[all-commits] [llvm/llvm-project] 909110: AMDGPU: Fold mov imm to copy to av_32 class (#155428)

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9091108c668f6d4867a113ae88aea1ba6eb0cfaa
      https://github.com/llvm/llvm-project/commit/9091108c668f6d4867a113ae88aea1ba6eb0cfaa
  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/attributor-flatscratchinit-undefined-behavior2.ll
    M llvm/test/CodeGen/AMDGPU/flat-scratch.ll
    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
    M llvm/test/CodeGen/AMDGPU/undef-handling-crash-in-ra.ll

  Log Message:
  -----------
  AMDGPU: Fold mov imm to copy to av_32 class (#155428)

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