Add two values
authorChris Lattner <sabre@nondot.org>
Sat, 21 Aug 2004 02:17:39 +0000 (02:17 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 21 Aug 2004 02:17:39 +0000 (02:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15959 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Target.td

index 41056b92b0b1efd311aa58a19e55c6c3a42eed7c..725d3bd47a249c6b9bad4b50f98dadb850bdcbae 100644 (file)
@@ -49,6 +49,17 @@ def isVoid : ValueType<0  , 11>;   // Produces no value
 class Register {
   string Namespace = "";
   string Name = "";
+
+  // SpillSize - If this value is set to a non-zero value, it is the size in
+  // bits of the spill slot required to hold this register.  If this value is
+  // set to zero, the information is inferred from any register classes the
+  // register belongs to.
+  int SpillSize = 0;
+
+  // SpillAlignment - This value is used to specify the alignment required for
+  // spilling the register.  Like SpillSize, this should only be explicitly
+  // specified if the register is not in a register class.
+  int SpillAlignment = 0;
 }
 
 // NamedReg - If the name for the 'def' of the register should not become the