[all-commits] [llvm/llvm-project] 0a488c: [AMDGPU] use scalar shift for SALU users in frame ...
alex-t via All-commits
all-commits at lists.llvm.org
Tue Mar 22 03:43:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0a488cba2c1b207cec49c8873c7d6b2af75f2d19
https://github.com/llvm/llvm-project/commit/0a488cba2c1b207cec49c8873c7d6b2af75f2d19
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
A llvm/test/CodeGen/AMDGPU/frame-index.mir
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