diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-01-18 00:16:39 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-01-18 00:16:39 +0000 |
commit | 31867660cb81ea2b1d1a6ffa7d09c91acb754a8b (patch) | |
tree | 3ccbfded75387b943b2877f7f5975da12d98a84b /lib/MC | |
parent | 7434c9a053789c04d73bb58df41ad6fdf6a84e6a (diff) | |
download | external_llvm-31867660cb81ea2b1d1a6ffa7d09c91acb754a8b.zip external_llvm-31867660cb81ea2b1d1a6ffa7d09c91acb754a8b.tar.gz external_llvm-31867660cb81ea2b1d1a6ffa7d09c91acb754a8b.tar.bz2 |
Add a CoveredBySubRegs property to Register descriptions.
When set, this bit indicates that a register is completely defined by
the value of its sub-registers.
Use the CoveredBySubRegs property to infer which super-registers are
call-preserved given a list of callee-saved registers. For example, the
ARM registers D8-D15 are callee-saved. This now automatically implies
that Q4-Q7 are call-preserved.
Conversely, Win64 callees save XMM6-XMM15, but the corresponding
YMM6-YMM15 registers are not call-preserved because they are not fully
defined by their sub-registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148363 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
0 files changed, 0 insertions, 0 deletions