From 8b0a3f2df96dae0a6ee4fb240f7190c5bc20e0b7 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Thu, 16 Feb 2012 17:56:06 +0000 Subject: [PATCH] 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 --- lib/Target/X86/X86RegisterInfo.td | 7 ------- 1 file changed, 7 deletions(-) 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; } -- 2.34.1