[llvm-commits] CVS: llvm/lib/Target/Target.td

Chris Lattner lattner at cs.uiuc.edu
Fri Aug 20 19:17:51 PDT 2004



Changes in directory llvm/lib/Target:

Target.td updated: 1.36 -> 1.37
---
Log message:

Add two values


---
Diffs of the changes:  (+11 -0)

Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.36 llvm/lib/Target/Target.td:1.37
--- llvm/lib/Target/Target.td:1.36	Sun Aug 15 18:04:35 2004
+++ llvm/lib/Target/Target.td	Fri Aug 20 21:17:39 2004
@@ -49,6 +49,17 @@
 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






More information about the llvm-commits mailing list