[all-commits] [llvm/llvm-project] 361e9e: [AMDGPU] Corrrectly emit AGPR copies in tryFoldPh...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Wed Jul 12 23:55:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 361e9eec515a55cccd11728c253eb5aa4d7cf7fd
      https://github.com/llvm/llvm-project/commit/361e9eec515a55cccd11728c253eb5aa4d7cf7fd
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2023-07-13 (Thu, 13 Jul 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
    M llvm/test/CodeGen/AMDGPU/fold-agpr-phis.mir

  Log Message:
  -----------
  [AMDGPU] Corrrectly emit AGPR copies in  tryFoldPhiAGPR

- Don't create COPY instructions between PHI nodes.
- Don't create V_ACCVGPR_WRITE with operands that aren't AGPR_32

Solves SWDEV-410408

Reviewed By: #amdgpu, arsenm

Differential Revision: https://reviews.llvm.org/D155080




More information about the All-commits mailing list