[llvm-commits] [llvm] r150709 - /llvm/trunk/lib/Target/X86/X86RegisterInfo.td

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Feb 16 09:56:06 PST 2012


Author: stoklund
Date: Thu Feb 16 11:56:06 2012
New Revision: 150709

URL: http://llvm.org/viewvc/llvm-project?rev=150709&view=rev
Log:
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.

Modified:
    llvm/trunk/lib/Target/X86/X86RegisterInfo.td

Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86RegisterInfo.td?rev=150709&r1=150708&r2=150709&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86RegisterInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86RegisterInfo.td Thu Feb 16 11:56:06 2012
@@ -206,13 +206,6 @@
   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;
   }





More information about the llvm-commits mailing list