diff options
author | Christudasan Devadasan <Christudasan.Devadasan@amd.com> | 2022-11-02 19:08:02 +0530 |
---|---|---|
committer | Christudasan Devadasan <Christudasan.Devadasan@amd.com> | 2022-11-04 15:28:35 +0530 |
commit | a8d7ad70aac1148ce7c3458194c322c9536b1409 (patch) | |
tree | f1714af10487d847095d0d9c234edefe5047f86c /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 389cf0adcb0ba2df347e49dcf15f993a4593bdc6 (diff) | |
download | llvm-a8d7ad70aac1148ce7c3458194c322c9536b1409.zip llvm-a8d7ad70aac1148ce7c3458194c322c9536b1409.tar.gz llvm-a8d7ad70aac1148ce7c3458194c322c9536b1409.tar.bz2 |
[AMDGPU] Skip stack-arg dbg objects while fixing the dead frame indices
Both SGPR->VGPR and VGPR->AGPR spilling code give a fixup to the
spill frame indices referred in debug instructions so that they
can be entirely removed. We should skip the stack argument debug
objects while looking inside the bitvector with FI as the index
that tracks the spill indices being processed. The stack args will
have negative indices and would crash while accessing the bitvector.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D137277
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions