diff options
| author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-09-30 08:48:38 +0000 |
|---|---|---|
| committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-09-30 08:48:38 +0000 |
| commit | 7789b0828aa769b56329bf229f7231b2fa87606b (patch) | |
| tree | e4a1c5f9b88678e878a1de1a44fb85face207b4d /llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp | |
| parent | eabede6d1b290080437617bec38697dfbca923b4 (diff) | |
| download | bcm5719-llvm-7789b0828aa769b56329bf229f7231b2fa87606b.tar.gz bcm5719-llvm-7789b0828aa769b56329bf229f7231b2fa87606b.zip | |
[SystemZ] Rename 32-bit GPR registers
I'm about to add support for high-word operations, so it seemed better
for the low-word registers to have names like R0L rather than R0W.
No behavioral change intended.
llvm-svn: 191655
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp b/llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp index 8ce6d6ab448..841f0ae0269 100644 --- a/llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp +++ b/llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp @@ -42,13 +42,13 @@ SystemZRegisterInfo::getReservedRegs(const MachineFunction &MF) const { if (TFI->hasFP(MF)) { // R11D is the frame pointer. Reserve all aliases. Reserved.set(SystemZ::R11D); - Reserved.set(SystemZ::R11W); + Reserved.set(SystemZ::R11L); Reserved.set(SystemZ::R10Q); } // R15D is the stack pointer. Reserve all aliases. Reserved.set(SystemZ::R15D); - Reserved.set(SystemZ::R15W); + Reserved.set(SystemZ::R15L); Reserved.set(SystemZ::R14Q); return Reserved; } |

