AMDGPU: Fix assertion on fixed stack objects with VGPR->AGPR spills
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 20 Jan 2022 19:57:23 +0000 (14:57 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Jan 2022 14:45:41 +0000 (09:45 -0500)
commit18aabae8e2b6ccea4575ac9e4fb4d38ec7e4e971
treef0f91ac4726c48f78afa30445728fada7181a579
parent354b2c36ee46a60f316e816d31737559a0694515
AMDGPU: Fix assertion on fixed stack objects with VGPR->AGPR spills

These have negative / out of bounds frame index values and would
assert when trying to set the BitVector. Fixed stack objects can't be
colored away so ignore them.
llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
llvm/test/CodeGen/AMDGPU/spill-vgpr-to-agpr.ll