Add target a target hook to get the register number used by the compact unwind
authorBill Wendling <isanbard@gmail.com>
Thu, 30 Jun 2011 23:20:32 +0000 (23:20 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 30 Jun 2011 23:20:32 +0000 (23:20 +0000)
commit5cd2791513919ee7504c309151321e4e37a05a58
tree37aca1d35544aca55ac7f72ea6bda6d79806a48a
parent15e96be3c70ab2e4a50c505c2b90e4ce1095dbd6
Add target a target hook to get the register number used by the compact unwind
encoding for the registers it knows about. Return -1 if it can't handle that
register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134202 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetAsmInfo.h
include/llvm/Target/TargetRegisterInfo.h
lib/Target/X86/X86RegisterInfo.cpp
lib/Target/X86/X86RegisterInfo.h