[PATCH] D87472: AMDGPU: Clear offset register when using local stack area
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 11:09:17 PDT 2020
arsenm created this revision.
arsenm added reviewers: rampitec, scott.linder, cdevadas.
Herald added subscribers: kerbowa, arphaman, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: LLVM.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
eliminateFrameIndex won't fix up the offset register when the direct
frame index reference is moved to a separate move instruction. Switch
the offset to a base 0 (which it probably should be to begin with).
https://reviews.llvm.org/D87472
Files:
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll
llvm/test/CodeGen/AMDGPU/stack-pointer-offset-relative-frameindex.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87472.291034.patch
Type: text/x-patch
Size: 8227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200910/ba09f66c/attachment.bin>
More information about the llvm-commits
mailing list