[all-commits] [llvm/llvm-project] fbe61f: [AMDGPU] Fix SGPR checks in S_MOV_B64_IMM_PSEUDO g...

Abinav Puthan Purayil via All-commits all-commits at lists.llvm.org
Tue Nov 2 21:17:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fbe61fb0aa2384962746ac411110e5c6a33b8a10
      https://github.com/llvm/llvm-project/commit/fbe61fb0aa2384962746ac411110e5c6a33b8a10
  Author: Abinav Puthan Purayil <abinav.puthanpurayil at amd.com>
  Date:   2021-11-03 (Wed, 03 Nov 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/GCNPreRAOptimizations.cpp
    M llvm/test/CodeGen/AMDGPU/agpr-to-agpr-copy.mir
    M llvm/test/CodeGen/AMDGPU/combine-sreg64-inits.mir

  Log Message:
  -----------
  [AMDGPU] Fix SGPR checks in S_MOV_B64_IMM_PSEUDO generation.

The function to generate S_MOV_B64_IMM_PSEUDO was recently modified to
optimize AGPR to AGPR copy but it missed checking for the SGPR
clobbering for the S_MOV_B64_IMM_PSEUDO generation.

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




More information about the All-commits mailing list