[all-commits] [llvm/llvm-project] 442de0: AMDGPU: Correct const_index_stride for wave 32 for...

David Stuttard via All-commits all-commits at lists.llvm.org
Fri May 7 04:29:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 442de0c1adf36bfddb5fb66b442bba8999fa733b
      https://github.com/llvm/llvm-project/commit/442de0c1adf36bfddb5fb66b442bba8999fa733b
  Author: David Stuttard <david.stuttard at amd.com>
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    M llvm/test/CodeGen/AMDGPU/pal-simple-indirect-call.ll

  Log Message:
  -----------
  AMDGPU: Correct const_index_stride for wave 32 for PAL ABI

Since there is a single scratch resource descriptor for all shaders, if there is
a wave32 and a wave64 shader (for instance for VsFs pairs)
then the const_index_stride will be incorrect for wave32 shaders.

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

Change-Id: Id8de5566b0d1a07a814e2e7db016df9d20bf6d2c




More information about the All-commits mailing list