[all-commits] [llvm/llvm-project] 61813b: AMDGPU: Use member initializers in MFI

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue May 19 15:11:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 61813b8069c638079d3f6e91144a197d633a7f18
      https://github.com/llvm/llvm-project/commit/61813b8069c638079d3f6e91144a197d633a7f18
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h

  Log Message:
  -----------
  AMDGPU: Use member initializers in MFI


  Commit: 074b802654f060be71b210b70f0095d2d2fb8b45
      https://github.com/llvm/llvm-project/commit/074b802654f060be71b210b70f0095d2d2fb8b45
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/addrspacecast.ll
    M llvm/test/CodeGen/AMDGPU/callee-special-input-sgprs-fixed-abi.ll
    M llvm/test/CodeGen/AMDGPU/callee-special-input-sgprs.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.implicitarg.ptr.ll

  Log Message:
  -----------
  AMDGPU: Fix DAG divergence for implicit function arguments

This should be directly implied from the register class, and there's
no need to special case live ins here. This was getting the wrong
answer for the queue ptr argument in callable functions, since it's
not an explicit IR argument and is always uniform.

Fixes not using scalar loads for the aperture in addrspacecast
lowering, and any other places that use implicit SGPR arguments.


Compare: https://github.com/llvm/llvm-project/compare/cfba1a966815...074b802654f0


More information about the All-commits mailing list