diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-01-26 22:59:28 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-01-26 22:59:28 +0000 |
commit | 53fa56e8dc60c8b594f22b888b4fb3c3b0567d82 (patch) | |
tree | 952e37054fb68acdc1139a842e316a015bbf35c9 /lib/MC/MCContext.cpp | |
parent | f26475af976389839c4affdcd2b5ef07ba548a81 (diff) |
Handle call-clobbered ymm registers on Win64.
The Win64 calling convention has xmm6-15 as callee-saved while still
clobbering all ymm registers.
Add a YMM_HI_6_15 pseudo-register that aliases the clobbered part of the
ymm registers, and mark that as call-clobbered. This allows live xmm
registers across calls.
This hack wouldn't be necessary with RegisterMask operands representing
the call clobbers, but they are not quite operational yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCContext.cpp')
0 files changed, 0 insertions, 0 deletions