[PATCH] D121524: [AMDGPU] use scalar shift for SALU users in frame index elimination
Alexander via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 12 07:28:49 PST 2022
alex-t created this revision.
alex-t added reviewers: rampitec, foad, arsenm.
Herald added subscribers: kerbowa, arphaman, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: All.
alex-t requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121524
Files:
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/test/CodeGen/AMDGPU/frame-index.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121524.414838.patch
Type: text/x-patch
Size: 12533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220312/d6fe088f/attachment.bin>
More information about the llvm-commits
mailing list