[all-commits] [llvm/llvm-project] e5340e: [AMDGPU] Fix global isel for kernels using agprs o...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Fri Oct 29 14:23:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5340ed30ce6149ebffcd808e024da9daee2c98c
      https://github.com/llvm/llvm-project/commit/e5340ed30ce6149ebffcd808e024da9daee2c98c
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.mfma.gfx90a.ll

  Log Message:
  -----------
  [AMDGPU] Fix global isel for kernels using agprs on gfx90a

With Global ISel getReservedRegs() is called before function is
regbank selected for the first time. Defer caching of usesAGPRs()
in this case.

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




More information about the All-commits mailing list