Move spill size and alignment info from MC to TargetRegisterInfo
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Fri, 24 Mar 2017 21:01:16 +0000 (21:01 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Fri, 24 Mar 2017 21:01:16 +0000 (21:01 +0000)
commitccc075ca206f7b80493bd8612b297004ff6e7164
tree6289d8e929a2b442377c71a14163c47866880ed3
parent44df297598d7972dbb5d78f900fb36f4153a03d6
Move spill size and alignment info from MC to TargetRegisterInfo

This is another step towards implementing register classes with
parametrized register/spill sizes and value types.

This is an updated version of r298652. The difference is that MCRegister-
Class still contains register size, available as getPhysRegSize(). The
old function getSize was retained as a temporary measure to avoid build
breakage for out-of-tree targets.

llvm-svn: 298739
llvm/include/llvm/MC/MCRegisterInfo.h
llvm/include/llvm/Target/TargetRegisterInfo.h
llvm/utils/TableGen/RegisterInfoEmitter.cpp