Remove the YMM_HI_6_15 hack.

Call clobbers are now represented with register mask operands.  The
regmask can easily represent the fact that xmm6 is call-preserved while
ymm6 isn't.  This is automatically computed by TableGen from the
CalleeSavedRegs containing xmm6.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150709 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen 2012-02-16 17:56:06 +00:00
parent 527a08b253
commit 8b0a3f2df9

View File

@ -206,13 +206,6 @@ let Namespace = "X86" in {
def YMM15: RegisterWithSubRegs<"ymm15", [XMM15]>, DwarfRegAlias<XMM15>;
}
// Pseudo-register that aliases the high part of ymm6-ymm15 that is clobbered
// by win64 calls. Doesn't alias the callee-saved xmm6-xmm15.
def YMM_HI_6_15 : Register<"ymmhi-6-15"> {
let Aliases = [YMM6, YMM7, YMM8, YMM9, YMM10, YMM11, YMM12, YMM13, YMM14,
YMM15];
}
class STRegister<string Name, list<Register> A> : Register<Name> {
let Aliases = A;
}