Add an OtherPreserved field to the CalleeSaved TableGen class.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 23 Aug 2013 02:25:47 +0000 (02:25 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 23 Aug 2013 02:25:47 +0000 (02:25 +0000)
commitd93969c32a6bbae3326a1f485c4c85be1cb39406
treef54d593d4fe2d4b2149858fa7607f4285ff053e9
parent0a248bf714f18b1cdcda5d7b811303c232d6e885
Add an OtherPreserved field to the CalleeSaved TableGen class.

This field specifies registers that are preserved across function calls,
but that should not be included in the generates SaveList array.

This can be used ot generate regmasks for architectures that save
registers through other means, like SPARC's register windows.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189084 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetCallingConv.td
lib/Target/Sparc/SparcCallingConv.td
lib/Target/Sparc/SparcRegisterInfo.cpp
lib/Target/Sparc/SparcRegisterInfo.h
utils/TableGen/RegisterInfoEmitter.cpp