HomePhabricator

[PowerPC] Infrastructure work. Implement getting the opcode for a spill in one…

Authored by stefanp on Mar 26 2018, 10:39 AM.

Description

[PowerPC] Infrastructure work. Implement getting the opcode for a spill in one place.

A new function getOpcodeForSpill should now be the only place to get
the opcode for a given spilled register.

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

llvm-svn: 328556