Cleanup and commonize code used for spilling to the stack.
stefanp nemanjai kamaub
- Group Reviewers
- rG2e6e27583ce1: [PowerPC][NFC] Cleanup load/store spilling code
I think the index for the StoreSpillOpcodesArray and LoadSpillOpcodesArray arrays are incorrect.
Besides that the patch LGTM and I want to approve it.
The indentation in these code blocks needs to be unified.
enums start at 0 so i think this should be SOK_LastOpcodeSpill +1 right?
Same as above comment.