From: Jakob Stoklund Olesen Date: Thu, 16 Feb 2012 17:56:06 +0000 (+0000) Subject: Remove the YMM_HI_6_15 hack. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8b0a3f2df96dae0a6ee4fb240f7190c5bc20e0b7;p=oota-llvm.git 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 --- diff --git a/lib/Target/X86/X86RegisterInfo.td b/lib/Target/X86/X86RegisterInfo.td index d98eea3e377..5263a4934cb 100644 --- a/lib/Target/X86/X86RegisterInfo.td +++ b/lib/Target/X86/X86RegisterInfo.td @@ -206,13 +206,6 @@ let Namespace = "X86" in { def YMM15: RegisterWithSubRegs<"ymm15", [XMM15]>, DwarfRegAlias; } - // 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 A> : Register { let Aliases = A; }