With scalar stores, M0 is clobbered and therefore marked as implicitly
defined. However, it is also dead.
This fixes an assertion when the Greedy Register Allocator decides to
optimize a spill/restore pair away again (via tryHintsRecoloring).
Differential D33319
AMDGPU: M0 operands to spill/restore opcodes are dead nhaehnle on May 18 2017, 8:10 AM. Authored by
Details With scalar stores, M0 is clobbered and therefore marked as implicitly This fixes an assertion when the Greedy Register Allocator decides to
Diff Detail
Event TimelineComment Actions LGTM, although I thought it now saves/restores m0's value so it might be OK to just remove the m0 operand entirely Comment Actions Nikolai, is there anything wrong with this patch? Do you plan to submit it anytime soon? |