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

Evan Cheng evan.cheng at apple.com
Thu May 18 13:44:38 PDT 2006



Changes in directory llvm/lib/Target:

Target.td updated: 1.83 -> 1.84
---
Log message:

Added a Flags field to TargetOperandInfo. Currently the only flag is
M_LOOK_UP_PTR_REG_CLASS which allows the register class of the operand to be
resolved via a callback at runtime.


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

 Target.td |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.83 llvm/lib/Target/Target.td:1.84
--- llvm/lib/Target/Target.td:1.83	Wed May 17 19:09:53 2006
+++ llvm/lib/Target/Target.td	Thu May 18 15:44:26 2006
@@ -189,6 +189,12 @@
 /// of operands.
 def variable_ops;
 
+/// ptr_rc definition - Mark this operand as being a pointer value whose
+/// register class is resolved dynamically via a callback to TargetInstrInfo.
+/// FIXME: We should probably change this to a class which contain a list of
+/// flags. But currently we have but one flag.
+def ptr_rc;
+
 /// Operand Types - These provide the built-in operand types that may be used
 /// by a target.  Targets can optionally provide their own operand types as
 /// needed, though this should not be needed for RISC targets.






More information about the llvm-commits mailing list