[all-commits] [llvm/llvm-project] 7636c9: [AMDGPU] use scalar shift for SALU users in frame ...

alex-t via All-commits all-commits at lists.llvm.org
Tue Mar 22 05:16:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7636c9a9297d82559a342d2c18a1205d7d7715c6
      https://github.com/llvm/llvm-project/commit/7636c9a9297d82559a342d2c18a1205d7d7715c6
  Author: alex-t <alexander.timofeev at amd.com>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp

  Log Message:
  -----------
  [AMDGPU] use scalar shift for SALU users in frame index elimination

In the frame index lowering we have to insert shift and add
instructions to adjust stack object access.  We need to take care of the stack
object user kind and use scalar shift/add for scalar users.

Reviewed By: rampitec

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




More information about the All-commits mailing list