This patch renames some of the instruction formats within PPCInstrPrefix.td to adopt a more uniform naming convention.
power-llvm-team lei nemanjai stefanp
- Group Reviewers
- rG1ba3d2639d1c: [PowerPC][NFC] Rename instruction formats in PPCInstrPrefix.td
Note that I've changed this format to have SI34_FRS5. I was originally going to change just D34 to SI34 but then the instruction format name would be MLS_DForm_R_SI34_RTA5. This would not be possible, as there already exists an instruction format with this name (below the current instruction format).
Talked this over with the team and we have decided on a way to rename that class. See the comment.
The two names are the same because the formats are effectively the same. This is just a special case where the immediate and the register have been combined to form a memory address. If we add the MEM at the end we can indicate that this is a memory op and make that the difference from the other class.