AMDGPU::SI_SPILL_V96_RESTORE was missing from a switch statement, which caused the srsrc and soffset register to not be set correctly.
This commit replaces the switch statement with a SITargetInfo query to make sure all spill instructions are covered.