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

David Stuttard via All-commits all-commits at lists.llvm.org
Fri May 7 05:44:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 606d4e806192013ff7da33351f671d08b4524438
      https://github.com/llvm/llvm-project/commit/606d4e806192013ff7da33351f671d08b4524438
  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

Retrying after revert and fix (removed implicit def flag from operand). Now
passes with expensive_checks enabled.

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: Ie3b8b2921237968caca91527dd0c97b1b0cc0360




More information about the All-commits mailing list