HomePhabricator

[AMDGPU] Fix crash with sgpr spills to vgpr disabled

Authored by kerbowa on Feb 1 2021, 8:34 AM.

Description

[AMDGPU] Fix crash with sgpr spills to vgpr disabled

This would assert with amdgpu-spill-sgpr-to-vgpr disabled when trying to
spill the FP.

Fixes: SWDEV-262704

Reviewed By: RamNalamothu

Differential Revision: https://reviews.llvm.org/D95768

Details