aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChristudasan Devadasan <Christudasan.Devadasan@amd.com>2022-11-02 19:08:02 +0530
committerChristudasan Devadasan <Christudasan.Devadasan@amd.com>2022-11-04 15:28:35 +0530
commita8d7ad70aac1148ce7c3458194c322c9536b1409 (patch)
treef1714af10487d847095d0d9c234edefe5047f86c /flang/lib/Frontend/CompilerInvocation.cpp
parent389cf0adcb0ba2df347e49dcf15f993a4593bdc6 (diff)
downloadllvm-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