[all-commits] [llvm/llvm-project] 85117e: AMDGPU: Fix not using scalar loads for global read...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jun 2 06:49:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 85117e286db0bfa6c7cecadd2c0c348e3358f450
      https://github.com/llvm/llvm-project/commit/85117e286db0bfa6c7cecadd2c0c348e3358f450
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-06-02 (Tue, 02 Jun 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/mubuf-global.ll
    M llvm/test/CodeGen/AMDGPU/global-saddr.ll
    A llvm/test/CodeGen/AMDGPU/infer-uniform-load-shader.ll

  Log Message:
  -----------
  AMDGPU: Fix not using scalar loads for global reads in shaders

The pass which infers when it's legal to load a global address space
as SMRD was only considering amdgpu_kernel, and ignoring the shader
entry type calling conventions.




More information about the All-commits mailing list