Some platforms use the same name for 32-bit and 64-bit registers (like
authorBill Wendling <isanbard@gmail.com>
Sun, 24 Feb 2008 00:56:13 +0000 (00:56 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 24 Feb 2008 00:56:13 +0000 (00:56 +0000)
commit181eb737b28628adc4376b973610a02039385026
tree6cb16c395d181478325ad525e0d1cc03077278fb
parent1df439773cc771be634cc04cc6c5cbca2a8e5f38
Some platforms use the same name for 32-bit and 64-bit registers (like
%r3 on PPC) in their ASM files. However, it's hard for humans to read
during debugging. Adding a new field to the register data that lets you
specify a different name to be printed than the one that goes into the
ASM file -- %x3 instead of %r3, for instance.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47534 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetRegisterInfo.h
lib/CodeGen/MachineInstr.cpp
lib/Target/PowerPC/PPCRegisterInfo.td
lib/Target/Target.td
utils/TableGen/RegisterInfoEmitter.cpp